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 <robdclark@chromium.org>
This commit is contained in:
Rob Clark 2019-05-16 11:33:36 -07:00
parent 54d94f5780
commit d200d58e65
1 changed files with 1 additions and 1 deletions

View 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);
}