mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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 <michel.daenzer@amd.com>
This commit is contained in:
parent
6fde194910
commit
c466093512
1 changed files with 0 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue