aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_gmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
index 981cf425f55..8cda9fdedf9 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_gmem.c
@@ -174,7 +174,7 @@ emit_zs(struct fd_ringbuffer *ring, struct pipe_surface *zsbuf,
size = slice->size0;
uint32_t base = gmem ? gmem->zsbuf_base[1] : 0;
- OUT_PKT4(ring, REG_A6XX_RB_STENCIL_INFO, 5);
+ OUT_PKT4(ring, REG_A6XX_RB_STENCIL_INFO, 6);
OUT_RING(ring, A6XX_RB_STENCIL_INFO_SEPARATE_STENCIL);
OUT_RING(ring, A6XX_RB_STENCIL_BUFFER_PITCH(stride));
OUT_RING(ring, A6XX_RB_STENCIL_BUFFER_ARRAY_PITCH(size));