From: Rob Clark Date: Wed, 27 May 2020 20:50:05 +0000 (-0700) Subject: freedreno/a6xx: document LRZ flag buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f391262003e2d58395dd17d2cf1e1a6807f7a0a;p=mesa.git freedreno/a6xx: document LRZ flag buffer Doesn't seem to be a big win, although I could still be missing something in my implementation. But might as well add the documentation. Signed-off-by: Rob Clark Part-of: --- diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index a718b24149f..72c0c384fca 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -1973,7 +1973,7 @@ to upconvert to 32b float internally? update MAX instead of MIN value, ie. GL_GREATER/GL_GEQUAL - + @@ -1988,6 +1988,37 @@ to upconvert to 32b float internally? + + diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c index b71c77ddc6c..790215dbc0b 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c @@ -1381,7 +1381,7 @@ fd6_emit_tile_fini(struct fd_batch *batch) fd6_emit_ib(batch->gmem, batch->epilogue); OUT_PKT4(ring, REG_A6XX_GRAS_LRZ_CNTL, 1); - OUT_RING(ring, A6XX_GRAS_LRZ_CNTL_ENABLE | A6XX_GRAS_LRZ_CNTL_UNK3); + OUT_RING(ring, A6XX_GRAS_LRZ_CNTL_ENABLE | A6XX_GRAS_LRZ_CNTL_FC_ENABLE); fd6_emit_lrz_flush(ring);