mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxbc] Disable Constant Buffer Range Check on AMD
The hardware already behaves as intended, no need to waste GPÜ cycles.
This commit is contained in:
parent
3b1e753bb5
commit
dc52212873
@ -29,8 +29,10 @@ namespace dxvk {
|
||||
= adapter->matchesDriver(DxvkGpuVendor::Nvidia, VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR, 0, 0);
|
||||
|
||||
strictDivision = options.strictDivision;
|
||||
constantBufferRangeCheck = options.constantBufferRangeCheck;
|
||||
zeroInitWorkgroupMemory = options.zeroInitWorkgroupMemory;
|
||||
|
||||
if (DxvkGpuVendor(devInfo.core.properties.vendorID) != DxvkGpuVendor::Amd)
|
||||
constantBufferRangeCheck = options.constantBufferRangeCheck;
|
||||
|
||||
// Disable early discard on RADV due to GPU hangs
|
||||
// Disable early discard on Nvidia because it may hurt performance
|
||||
|
Loading…
x
Reference in New Issue
Block a user