diff options
author | Marek Olšák <[email protected]> | 2019-07-16 19:04:48 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-07-19 20:16:50 -0400 |
commit | 7a764b963a50cfab4a684b492c377d31a669d747 (patch) | |
tree | 3be6cacf892a762d9bf639fc3e2925a8c9f47285 | |
parent | c741bed6e823afe75edecbb0d0a4c18d785480cd (diff) |
radeonsi: fix compute-based culling regression in 1ce52c1e373
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Acked-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index f39b7c653e5..a099805e43d 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -759,7 +759,7 @@ static void si_emit_draw_registers(struct si_context *sctx, bool primitive_restart) { struct radeon_cmdbuf *cs = sctx->gfx_cs; - unsigned vgt_prim = si_conv_pipe_prim(info->mode); + unsigned vgt_prim = si_conv_pipe_prim(prim); if (sctx->chip_class >= GFX10) gfx10_emit_ge_cntl(sctx, num_patches); |