mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 10:24:12 +01:00
[dxbc] Disable atomic counter optimization on old RADV versions
Breaks TressFX in Tomb Raider 2013 for some reason, whereas this works fine on 19.1 with both LLVM 8.0 and 9.0-git.
This commit is contained in:
parent
a715937db1
commit
58dcf77c08
@ -49,6 +49,10 @@ namespace dxvk {
|
||||
|| 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;
|
||||
|
||||
// Apply shader-related options
|
||||
applyTristate(useSubgroupOpsForEarlyDiscard, device->config().useEarlyDiscard);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user