From c5bf1caf17002d8c416077ab95e2c38ce3904bd1 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 12 Jun 2025 16:28:23 +0200 Subject: [PATCH] radv: enable shaderBufferFloat32AtomicMinMax on GFX12 This is supported. Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_physical_device.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/amd/vulkan/radv_physical_device.h b/src/amd/vulkan/radv_physical_device.h index 2a40eda8139..6f24cadbfa9 100644 --- a/src/amd/vulkan/radv_physical_device.h +++ b/src/amd/vulkan/radv_physical_device.h @@ -214,8 +214,7 @@ static inline bool radv_has_shader_buffer_float_minmax(const struct radv_physical_device *pdev, unsigned bitsize) { return (pdev->info.gfx_level <= GFX7 && !pdev->use_llvm) || pdev->info.gfx_level == GFX10 || - pdev->info.gfx_level == GFX10_3 || - ((pdev->info.gfx_level == GFX11 || pdev->info.gfx_level == GFX11_5) && bitsize == 32); + pdev->info.gfx_level == GFX10_3 || (pdev->info.gfx_level >= GFX11 && bitsize == 32); } static inline bool