1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxbc] Disable early discard on AMD cards

Causes GPU hangs.
This commit is contained in:
Philip Rebohle 2018-11-24 10:09:33 +01:00
parent ce3642edd0
commit 2424cf0289
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -24,8 +24,12 @@ namespace dxvk {
zeroInitWorkgroupMemory = options.zeroInitWorkgroupMemory;
// Disable early discard on AMD due to GPU hangs
// Disable early discard on Nvidia because it may hurt performance
if (DxvkGpuVendor(devInfo.core.properties.vendorID) == DxvkGpuVendor::Nvidia) {
auto vendor = DxvkGpuVendor(devInfo.core.properties.vendorID);
if (vendor == DxvkGpuVendor::Amd
|| vendor == DxvkGpuVendor::Nvidia) {
useSubgroupOpsForEarlyDiscard = false;
useSubgroupOpsClustered = false;
}