From 7298bc1810fc2a0fdc56b0b104d57298695d21eb Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 18 Oct 2022 00:35:14 +0000 Subject: [PATCH] radv: disable {shader,sparse}ImageFloat32AtomicMinMax on GFX11 image_atomic_{fmin,fmax} aren't supported on this GPU apparently. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- 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 80ed9882c8b..821c639824e 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1686,7 +1686,8 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, (VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT *)ext; bool has_shader_buffer_float_minmax = radv_has_shader_buffer_float_minmax(pdevice); bool has_shader_image_float_minmax = - pdevice->rad_info.gfx_level != GFX8 && pdevice->rad_info.gfx_level != GFX9; + pdevice->rad_info.gfx_level != GFX8 && pdevice->rad_info.gfx_level != GFX9 && + pdevice->rad_info.gfx_level != GFX11; features->shaderBufferFloat16Atomics = false; features->shaderBufferFloat16AtomicAdd = false; features->shaderBufferFloat16AtomicMinMax = false;