summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-02-13 09:34:16 +1100
committerTimothy Arceri <[email protected]>2018-02-15 09:02:41 +1100
commit6acab18828f90d8ecefec059c6d646f3ab8de541 (patch)
tree4f3929e5e8ec4cac0d54a27bc575806efe76bb7f
parent8534af44e49c2bb713f908905645eb762cad3fce (diff)
radeonsi/nir: fix shader ballot return value bitsize
Fixes cts test: KHR-GL46.shader_ballot_tests.ShaderBallotFunctionBallot Reviewed-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c
index ba4a66fabbc..0a09963e918 100644
--- a/src/gallium/drivers/radeonsi/si_shader_nir.c
+++ b/src/gallium/drivers/radeonsi/si_shader_nir.c
@@ -630,7 +630,7 @@ si_lower_nir(struct si_shader_selector* sel)
const nir_lower_subgroups_options subgroups_options = {
.subgroup_size = 64,
- .ballot_bit_size = 32,
+ .ballot_bit_size = 64,
.lower_to_scalar = true,
.lower_subgroup_masks = true,
.lower_vote_trivial = false,