diff options
author | Rob Clark <[email protected]> | 2018-09-11 16:21:29 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-09-27 15:41:46 -0400 |
commit | 919741b8d5357b2a061a48f7142c1e24be8656d4 (patch) | |
tree | ba4d6279898c864973c8f37b08a9a00346a0243c /src/gallium/drivers/freedreno/a6xx | |
parent | 19e9d286464d1941f731f0d84402725f918623d6 (diff) |
freedreno: handle invalidated buffers harder
Do a better job of skipping mem2gmem/gmem2mem..
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a6xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a6xx/fd6_gmem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c index 8cda9fdedf9..86671fb75da 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c @@ -681,6 +681,9 @@ emit_resolve_blit(struct fd_batch *batch, uint32_t base, struct fd_ringbuffer *ring = batch->gmem; uint32_t info = 0; + if (!rsc->valid) + return; + switch (buffer) { case FD_BUFFER_COLOR: break; |