freedreno/a6xx: limit IBO state to draw pass
authorRob Clark <robdclark@chromium.org>
Thu, 16 May 2019 18:33:36 +0000 (11:33 -0700)
committerRob Clark <robdclark@chromium.org>
Mon, 20 May 2019 16:10:12 +0000 (09:10 -0700)
Currently we are only supporting images in FS (and CS) so limit this
stateobj to draw pass.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c

index 23449ee892317227b888843edc2c2361700f820f..d17be0949a65f7593901297d1a36e2d66da058cb 100644 (file)
@@ -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);
        }