From: Samuel Pitoiset Date: Wed, 22 Apr 2020 13:26:17 +0000 (+0200) Subject: radv: adjust the supported subgroup stages X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a6e71524dc8d6795c7d6188538c8496f2f4c025;p=mesa.git radv: adjust the supported subgroup stages VK_SHADER_STAGE_ALL now includes all ray-tracing related stages. Noticed while comparing vulkaninfo with some other drivers. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 4bfcbb1c0ba..730d1a67747 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1469,7 +1469,8 @@ radv_get_physical_device_properties_1_1(struct radv_physical_device *pdevice, p->deviceNodeMask = 0; p->subgroupSize = RADV_SUBGROUP_SIZE; - p->subgroupSupportedStages = VK_SHADER_STAGE_ALL; + p->subgroupSupportedStages = VK_SHADER_STAGE_ALL_GRAPHICS | + VK_SHADER_STAGE_COMPUTE_BIT; p->subgroupSupportedOperations = VK_SUBGROUP_FEATURE_BASIC_BIT | VK_SUBGROUP_FEATURE_VOTE_BIT | VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |