1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 10:24:10 +01:00

[dxbc] Remove atomic counter workaround for ancient Mesa versions

No one should be using Mesa 19.0 at this point.
This commit is contained in:
Philip Rebohle 2021-06-18 15:44:58 +02:00
parent 7beb344f6f
commit 81664fce44
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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)