radv: enable clustered reductions
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 17 Sep 2019 15:07:51 +0000 (17:07 +0200)
committerDaniel Schürmann <daniel@schuermann.dev>
Thu, 19 Sep 2019 10:10:00 +0000 (12:10 +0200)
These work with both, LLVM and ACO.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index 26de979b64f9dc557bd3d482d291b2ad4a01d16c..80bd19028d2c1f04b8c56c1338e9d6338d081385 100644 (file)
@@ -1258,6 +1258,7 @@ void radv_GetPhysicalDeviceProperties2(
                        if (pdevice->rad_info.chip_class >= GFX8) {
                                properties->supportedOperations |=
                                                        VK_SUBGROUP_FEATURE_ARITHMETIC_BIT |
+                                                       VK_SUBGROUP_FEATURE_CLUSTERED_BIT |
                                                        VK_SUBGROUP_FEATURE_SHUFFLE_BIT |
                                                        VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT;
                        }