summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-09-18 15:27:52 +0200
committerSamuel Pitoiset <[email protected]>2018-09-19 13:36:10 +0200
commit35656823b986c741f2cec53c7085f1d77305a489 (patch)
tree8efaed7970138a7e6ac0b044892862bab8d52278 /src/amd/vulkan/radv_device.c
parentfebdc13a6cce3f1931402f28f521adf32b14c152 (diff)
radv: enable VK_SUBGROUP_FEATURE_ARITHMETIC_BIT
All CTS pass on Polaris/Vega with LLVM 6, 7 and master, so I think it's safe to enable the feature. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index f9169d9d012..7e46a57fb57 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1061,6 +1061,7 @@ void radv_GetPhysicalDeviceProperties2(
properties->subgroupSize = 64;
properties->supportedStages = VK_SHADER_STAGE_ALL;
properties->supportedOperations =
+ VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |
VK_SUBGROUP_FEATURE_BASIC_BIT |
VK_SUBGROUP_FEATURE_BALLOT_BIT |
VK_SUBGROUP_FEATURE_QUAD_BIT |