mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 10:54:16 +01:00
[dxvk] Disable NVIDIA HVV bug workaround on fixed drivers
Reviewed-by: Arthur Huillet <ahuillet@nvidia.com>
This commit is contained in:
parent
b25d6ba615
commit
1c2edabbcb
@ -180,7 +180,16 @@ namespace dxvk {
|
||||
/* Work around an issue on Nvidia drivers where using the entire
|
||||
* device_local | host_visible heap can cause crashes, presumably
|
||||
* due to subsequent internal driver allocations failing */
|
||||
bool nvidiaBug3114283Active = true;
|
||||
bool nvidiaBug3114283Active = false;
|
||||
|
||||
// Fix is available in mainline drivers starting with the 465 driver series.
|
||||
if (device->adapter()->matchesDriver(DxvkGpuVendor::Nvidia,
|
||||
VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR,
|
||||
0,
|
||||
VK_MAKE_VERSION(465, 0, 0))) {
|
||||
nvidiaBug3114283Active = true;
|
||||
}
|
||||
|
||||
applyTristate(nvidiaBug3114283Active, device->config().halveNvidiaHVVHeap);
|
||||
|
||||
if ((m_device->properties().core.properties.vendorID == uint16_t(DxvkGpuVendor::Nvidia))
|
||||
|
Loading…
x
Reference in New Issue
Block a user