aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_draw.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2014-10-16 15:10:20 +0900
committerMichel Dänzer <[email protected]>2014-10-17 17:09:49 +0900
commitc4db733facd01f8f7503dec662ff79d278b103c1 (patch)
treeee5d41e31f8690272c48b5eaa12b475945f59d13 /src/gallium/drivers/vc4/vc4_draw.c
parente1d363b3ffbfb85133a6871c63068a4ba841b2cd (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/vc4/vc4_draw.c')
0 files changed, 0 insertions, 0 deletions