1
0
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:
Philip Rebohle 2019-04-30 16:07:24 +02:00
parent 3b1e753bb5
commit dc52212873
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

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