radv: Enable lowering dynamic quad broadcasts.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 11 Mar 2020 14:05:47 +0000 (15:05 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 12 Mar 2020 13:16:07 +0000 (13:16 +0000)
commit967eb2326155eaa7f2f3d3b8c459a2cb82eca1dc
tree03f32107a9b71febff6405c0222b78bc697f026a
parentec16535b493b54c8c039576c0303f324242ae3fb
radv: Enable lowering dynamic quad broadcasts.

This will lower dynamic quad broadcasts into something that both
LLVM and ACO can understand. On hardware which supports shuffles,
they are lowered to shuffle, on older hardware (GFX6-7) they will
get lowered to constant quad broadcasts.

Fixes dEQP-VK.subgroups.quad.*.subgroupquadbroadcast_nonconst_*

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4147>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4147>
src/amd/vulkan/radv_shader.c