ac/llvm: skip ballot zext for 32-bit dest with wave32-as-wave64
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 13 Jul 2023 15:37:11 +0000 (16:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 17 Jul 2023 11:21:35 +0000 (11:21 +0000)
commit0cb26f31feb954e7a1c49d54930f83c002329c7d
tree7616e8cc56bf324eb3a13ae15355ace7cefccb18
parent47c9dea6ac63d70d261029588d618dd82527d992
ac/llvm: skip ballot zext for 32-bit dest with wave32-as-wave64

NGG lowering can ballots with a 32-bit destination even if the ballot bit
size is 64.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140>
src/amd/llvm/ac_nir_to_llvm.c