summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-12-08 15:17:20 +0100
committerMarek Olšák <[email protected]>2014-12-10 21:59:37 +0100
commitc4660935125a428ee7a108acc29b46d2801682a8 (patch)
tree5cab0ab2e4b402abddfe0cf2a62eaea03efaf5d9 /src
parent6fde19491038074eb2d5ddb1bae48276530f9d74 (diff)
radeonsi: remove setting of VGT_DISPATCH_DRAW_INDEX
It's used only if VGT_SHADER_STAGES_EN.DISPATCH_DRAW_EN is 1, which we don't set. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_draw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index a65eaa1f7ec..4ae825386e2 100644
--- a/src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/src/gallium/drivers/radeonsi/si_state_draw.c
@@ -180,9 +180,6 @@ static void si_emit_draw_registers(struct si_context *sctx,
/* Draw state. */
if (sctx->b.chip_class >= CIK) {
- r600_write_context_reg(cs, R_028B74_VGT_DISPATCH_DRAW_INDEX,
- ib->index_size == 4 ? 0xFC000000 : 0xFC00);
-
radeon_emit(cs, PKT3(PKT3_DRAW_PREAMBLE, 2, 0));
radeon_emit(cs, prim); /* VGT_PRIMITIVE_TYPE */
radeon_emit(cs, ia_multi_vgt_param); /* IA_MULTI_VGT_PARAM */