From: Daniel Schürmann Date: Tue, 17 Sep 2019 15:07:51 +0000 (+0200) Subject: radv: enable clustered reductions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e01b522a72ad574c29258cb61020772393c37c2b;p=mesa.git radv: enable clustered reductions These work with both, LLVM and ACO. Reviewed-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 26de979b64f..80bd19028d2 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -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; }