radv: only expose VK_SUBGROUP_FEATURE_ARITHMETIC_BIT for VI+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Nov 2018 16:06:27 +0000 (17:06 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 8 Nov 2018 09:41:41 +0000 (10:41 +0100)
commit0dcd99c6870aae5b15c8709a8afcc942d116c976
treed2732beeb1b2829937567dc7d3d1ea7dd6800c5c
parent16f1023037908a683c62521af4d44e28023f2630
radv: only expose VK_SUBGROUP_FEATURE_ARITHMETIC_BIT for VI+

Inclusive and exclusives scan are missing because older chips
don't have llvm.amdgcn.update.dpp.

This fixes crashes with dEQP-VK.subgroups.arithmetic.*.

CC: mesa-stable@lists.freedesktop.org
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c