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-04-14 13:31:23 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-04-14 13:31:23 +0300
commit04daaee0fd0153783653df185286e34dd8684e6f (patch)
tree9a999a4ebf346ee6098dd5c2a394d21492817e5e /source/blender/gpu
parented40d5eaa79972486f743de04e11fb64f4af0049 (diff)
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.
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 e8595ecc67c..0d735d11902 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -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;
}