From: Timothy Arceri Date: Mon, 12 Feb 2018 22:34:16 +0000 (+1100) Subject: radeonsi/nir: fix shader ballot return value bitsize X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6acab18828f90d8ecefec059c6d646f3ab8de541;p=mesa.git radeonsi/nir: fix shader ballot return value bitsize Fixes cts test: KHR-GL46.shader_ballot_tests.ShaderBallotFunctionBallot Reviewed-by: Marek Olšák --- 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,