diff options
author | Samuel Pitoiset <[email protected]> | 2020-04-22 15:26:17 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-23 16:16:09 +0000 |
commit | 6a6e71524dc8d6795c7d6188538c8496f2f4c025 (patch) | |
tree | 7a1af1d46aa8b1e952660fe0c8eaed156f282735 /src/amd/vulkan | |
parent | efdb7fa9a83b0a216b1837a5912b71669bf3f984 (diff) |
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 <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4679>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |