From 81664fce449e4e575eb74020eb7e0db1c6547190 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 18 Jun 2021 15:44:58 +0200 Subject: [PATCH] [dxbc] Remove atomic counter workaround for ancient Mesa versions No one should be using Mesa 19.0 at this point. --- src/dxbc/dxbc_options.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dxbc/dxbc_options.cpp b/src/dxbc/dxbc_options.cpp index 916d5bbf..2375191f 100644 --- a/src/dxbc/dxbc_options.cpp +++ b/src/dxbc/dxbc_options.cpp @@ -47,10 +47,6 @@ namespace dxvk { if (adapter->matchesDriver(DxvkGpuVendor::Nvidia, VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR, 0, 0)) useSubgroupOpsForEarlyDiscard = false; - // Disable atomic counters on older RADV versions - if (adapter->matchesDriver(DxvkGpuVendor::Amd, VK_DRIVER_ID_MESA_RADV_KHR, 0, VK_MAKE_VERSION(19, 1, 0))) - useSubgroupOpsForAtomicCounters = false; - // Figure out float control flags to match D3D11 rules if (options.floatControls) { if (devInfo.khrShaderFloatControls.shaderSignedZeroInfNanPreserveFloat32)