[Bf-blender-cvs] [b65c77e] master: Add Intel's 3000 driver to exceptions for df/dy calculations. Should fix another case of SSAO effect reversal.

Antony Riakiotakis noreply at git.blender.org
Fri May 8 19:26:07 CEST 2015


Commit: b65c77e664478750a26c384d39baa13cf45aa545
Author: Antony Riakiotakis
Date:   Fri May 8 19:25:51 2015 +0200
Branches: master
https://developer.blender.org/rBb65c77e664478750a26c384d39baa13cf45aa545

Add Intel's 3000 driver to exceptions for df/dy calculations. Should fix
another case of SSAO effect reversal.

===================================================================

M	source/blender/gpu/intern/gpu_extensions.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 54e3339..c017856 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;
 	}




More information about the Bf-blender-cvs mailing list