diff options
author | Rob Clark <[email protected]> | 2020-02-01 13:57:12 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-28 16:53:40 +0000 |
commit | ae3e237db05e365d87f6bd8bd44957922c49046c (patch) | |
tree | 3cac635614375f9df179aa49c86fb687812bc4b3 /src/gallium | |
parent | 6b605804eade2c3701745c3ef447246cfe975413 (diff) |
freedreno/a6xx: emit LRZ clear in sysmem too
Fixes rendering issues in manhattan with FD_MESA_DEBUG=nogmem
Signed-off-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3989>
Diffstat (limited to 'src/gallium')
-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 c4c92d93cba..5ffcab6dbe7 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c @@ -1471,6 +1471,9 @@ fd6_emit_sysmem_prep(struct fd_batch *batch) fd6_emit_lrz_flush(ring); + if (batch->lrz_clear) + fd6_emit_ib(ring, batch->lrz_clear); + emit_marker6(ring, 7); OUT_PKT7(ring, CP_SET_MARKER, 1); OUT_RING(ring, A6XX_CP_SET_MARKER_0_MODE(RM6_BYPASS)); |