Fix T44385 SSAO inverted with new Intel drivers.
Intel has decided to fix this for newer devices and drivers only, so we can't really avoid keeping a list of buggy drivers here.
This commit is contained in:
parent
ed40d5eaa7
commit
04daaee0fd
Notes:
blender-bot
2023-02-14 11:21:43 +01:00
Referenced by issue #44385, SSAO is inverted in latest buildbot (Intel GPU)
|
@ -263,7 +263,8 @@ void gpu_extensions_init(void)
|
|||
GG.dfdyfactors[0] = 1.0;
|
||||
GG.dfdyfactors[1] = -1.0;
|
||||
}
|
||||
else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN) {
|
||||
else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN &&
|
||||
(strstr(version, "4.0.0 - Build 9.18.10.3165"))) {
|
||||
GG.dfdyfactors[0] = -1.0;
|
||||
GG.dfdyfactors[1] = 1.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue