From d200d58e65d5e1836be1bd0dbea3c4c6b8edae48 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 16 May 2019 11:33:36 -0700 Subject: [PATCH] freedreno/a6xx: limit IBO state to draw pass Currently we are only supporting images in FS (and CS) so limit this stateobj to draw pass. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/a6xx/fd6_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c index 23449ee8923..d17be0949a6 100644 --- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.c +++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.c @@ -1050,7 +1050,7 @@ fd6_emit_state(struct fd_ringbuffer *ring, struct fd6_emit *emit) OUT_PKT4(obj, REG_A6XX_SP_IBO_COUNT, 1); OUT_RING(obj, mapping->num_ibo); - fd6_emit_add_group(emit, obj, FD6_GROUP_IBO, 0x7); + fd6_emit_add_group(emit, obj, FD6_GROUP_IBO, 0x6); fd_ringbuffer_del(obj); fd_ringbuffer_del(state); } -- 2.30.2