From: Rob Clark Date: Thu, 16 May 2019 18:33:36 +0000 (-0700) Subject: freedreno/a6xx: limit IBO state to draw pass X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d200d58e65d5e1836be1bd0dbea3c4c6b8edae48;p=mesa.git 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 --- 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); }