mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-27 22:54:16 +01:00
[dxbc] Re-enable Nvidia workarounds if __GL_NextGenCompiler is '0'
Fixes potential regressions when using the old SPIR-V compiler.
This commit is contained in:
parent
1b6442b859
commit
3ff437ddbe
@ -10,7 +10,8 @@ namespace dxvk {
|
||||
const DxvkGpuVendor vendor = static_cast<DxvkGpuVendor>(devProps.vendorID);
|
||||
|
||||
if (vendor == DxvkGpuVendor::Nvidia
|
||||
&& devProps.driverVersion <= VK_MAKE_VERSION(396, 18, 0)) {
|
||||
&& (devProps.driverVersion < VK_MAKE_VERSION(396, 18, 0)
|
||||
|| getEnvVar(L"__GL_NextGenCompiler") != "0")) {
|
||||
// Older versions of the driver expect the
|
||||
// coordinate vector to have an extra component
|
||||
this->addExtraDrefCoordComponent = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user