diff options
author | Michel Dänzer <[email protected]> | 2014-10-16 15:10:20 +0900 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2014-10-17 17:09:49 +0900 |
commit | c4db733facd01f8f7503dec662ff79d278b103c1 (patch) | |
tree | ee5d41e31f8690272c48b5eaa12b475945f59d13 /src/gallium/drivers/nouveau | |
parent | e1d363b3ffbfb85133a6871c63068a4ba841b2cd (diff) |
winsys/radeon: Use a single buffer cache manager again
The trick is to generate a unique buffer usage value for each possible
combination of domains and flags, with only one bit set each for the
domains and flags. This ensures pb_check_usage() only returns TRUE when
the domains and flags the cached buffer was created for exactly match
the requested ones.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
0 files changed, 0 insertions, 0 deletions