Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-05-08 20:25:51 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-05-08 20:25:51 +0300
commitb65c77e664478750a26c384d39baa13cf45aa545 (patch)
treefaa15b205ee8e94b2dbb0fbbae4ac4b342742dc3 /source/blender/gpu
parent2e6634e4a8a78809453816d2c623495e21454e69 (diff)
Add Intel's 3000 driver to exceptions for df/dy calculations. Should fix
another case of SSAO effect reversal.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 54e3339eb29..c0178567466 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -264,7 +264,8 @@ void gpu_extensions_init(void)
GG.dfdyfactors[1] = -1.0;
}
else if (GG.device == GPU_DEVICE_INTEL && GG.os == GPU_OS_WIN &&
- (strstr(version, "4.0.0 - Build 9.18.10.3165"))) {
+ (strstr(version, "4.0.0 - Build 9.18.10.3165") ||
+ strstr(version, "3.1.0 - Build 9.17.10.4101"))) {
GG.dfdyfactors[0] = -1.0;
GG.dfdyfactors[1] = 1.0;
}