aco/wave32: Allow setting the subgroup ballot size to 64-bit.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 28 Nov 2019 09:41:19 +0000 (10:41 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Wed, 4 Dec 2019 10:36:01 +0000 (10:36 +0000)
commit21db083504fde3100f0b528f683a087357f5aaff
treeeede1f0006bfe67fd9271ac3640c311409fb3b7e
parented815d503efadc2ad0171b5ad296f2a84bac528b
aco/wave32: Allow setting the subgroup ballot size to 64-bit.

Previously, it would only work when the ballot size was set to the
lane mask. This patch makes is possible to set the ballot size
to either 32-bit or 64-bit for wave32 mode.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_instruction_selection_setup.cpp