radv: disable VK_SUBGROUP_FEATURE_VOTE_BIT
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Oct 2018 07:42:42 +0000 (09:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Oct 2018 08:24:19 +0000 (10:24 +0200)
This feature isn't used for now, so disable it until
wwm is fixed in LLVM.

Fixes dEQP-VK.subgroups.vote.graphics.subgroupallequal*

https://bugs.freedesktop.org/show_bug.cgi?id=108115
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 174922780fce4f95837005d5b9a170f56ebb906e..85e5d9014d80abfdd4e7b0e0802c12827872263e 100644 (file)
@@ -1057,12 +1057,14 @@ void radv_GetPhysicalDeviceProperties2(
                            (VkPhysicalDeviceSubgroupProperties*)ext;
                        properties->subgroupSize = 64;
                        properties->supportedStages = VK_SHADER_STAGE_ALL;
+                       /* TODO: Enable VK_SUBGROUP_FEATURE_VOTE_BIT when wwm
+                        * is fixed in LLVM.
+                        */
                        properties->supportedOperations =
                                                        VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |
                                                        VK_SUBGROUP_FEATURE_BASIC_BIT |
                                                        VK_SUBGROUP_FEATURE_BALLOT_BIT |
-                                                       VK_SUBGROUP_FEATURE_QUAD_BIT |
-                                                       VK_SUBGROUP_FEATURE_VOTE_BIT;
+                                                       VK_SUBGROUP_FEATURE_QUAD_BIT;
                        if (pdevice->rad_info.chip_class >= VI) {
                                properties->supportedOperations |=
                                                        VK_SUBGROUP_FEATURE_SHUFFLE_BIT |