summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qpu.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-09-08 22:40:44 -0700
committerEric Anholt <[email protected]>2016-09-14 06:08:03 +0100
commita2014c2eb9e03301b2f472adf2d46915579e4512 (patch)
tree45ffb491fc9e5538d5854c7b9cc5a503ba8deaf0 /src/gallium/drivers/vc4/vc4_qpu.c
parent21a27ad9569211e48cfd7ad60ac4025ab9f96a7a (diff)
vc4: Simplify the DISCARD_RANGE handling
It's really just an upgrade to attempting WHOLE_RESOURCE. Pulling the logic out caught two bugs in it: We would try to do so on cubemaps (even though we're only mapping 1 of the 6 slices), and we would break persistent coherent mappings by trying to reallocate when we shouldn't.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qpu.c')
0 files changed, 0 insertions, 0 deletions