Module: Mesa
Branch: master
Commit: 6a6e71524dc8d6795c7d6188538c8496f2f4c025
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a6e71524dc8d6795c7d6188538c8496f2f4c025

Author: Samuel Pitoiset <[email protected]>
Date:   Wed Apr 22 15:26:17 2020 +0200

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>

---

 src/amd/vulkan/radv_device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 |

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to