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:
parent
ce3642edd0
commit
2424cf0289
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user