summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index f37a4b222bb..3120d4e0236 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -1102,7 +1102,7 @@ radeonsi_screen_create_impl(struct radeon_winsys *ws,
&prim_discard_vertex_count_threshold,
&tmp);
/* Compute-shader-based culling doesn't support VBOs in user SGPRs. */
- if (prim_discard_vertex_count_threshold != UINT_MAX)
+ if (prim_discard_vertex_count_threshold == UINT_MAX)
sscreen->num_vbos_in_user_sgprs = sscreen->info.chip_class >= GFX9 ? 5 : 1;
/* Determine tessellation ring info. */