[Mesa-dev] [PATCH] radeonsi/nir: fix shader ballot return value bitsize
Timothy Arceri
tarceri at itsqueeze.com
Mon Feb 12 22:35:47 UTC 2018
Fixes cts test:
KHR-GL46.shader_ballot_tests.ShaderBallotFunctionBallot
---
src/gallium/drivers/radeonsi/si_shader_nir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c
index 39fb8ece25..b46c7dca86 100644
--- a/src/gallium/drivers/radeonsi/si_shader_nir.c
+++ b/src/gallium/drivers/radeonsi/si_shader_nir.c
@@ -639,7 +639,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,
--
2.14.3
More information about the mesa-dev
mailing list