nir/subgroups: Replace lower_vote_eq_to_ballot with lower_vote_eq
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 11 Sep 2020 11:07:48 +0000 (13:07 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 8 Jul 2021 16:02:41 +0000 (16:02 +0000)
commit90819b9b0ea0ea8ffe4bd34100ee12dce8f63ebf
tree183cc92306f01086df37e89e235973c6ca31be75
parent4fcb7e96b8350845390f912c0f51d3e1e2ae4e9d
nir/subgroups: Replace lower_vote_eq_to_ballot with lower_vote_eq

Lower it to a vote instead of a ballot. This was only used for AMD, and
in that case they're pretty much the same. However Qualcomm has a vote
builtin, which we want to use instead of ballots.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6752>
src/amd/vulkan/radv_shader.c
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_subgroups.c
src/gallium/drivers/radeonsi/si_shader_nir.c