1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-18 22:54:15 +01:00

[dxbc] Fix __GL_NextGenCompiler check...

This commit is contained in:
Philip Rebohle 2018-04-11 01:17:07 +02:00
parent 3ff437ddbe
commit f3544cc8e1
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -11,7 +11,7 @@ namespace dxvk {
if (vendor == DxvkGpuVendor::Nvidia
&& (devProps.driverVersion < VK_MAKE_VERSION(396, 18, 0)
|| getEnvVar(L"__GL_NextGenCompiler") != "0")) {
|| getEnvVar(L"__GL_NextGenCompiler") == "0")) {
// Older versions of the driver expect the
// coordinate vector to have an extra component
this->addExtraDrefCoordComponent = true;