[Bf-blender-cvs] [da7f00b9c95] blender2.8: GPU Extensions: unused_fb_slot_workaround: Compare only the driver.

mano-wii noreply at git.blender.org
Thu Dec 6 14:06:32 CET 2018


Commit: da7f00b9c954c7eea83e88690dd9c18aa7907bc7
Author: mano-wii
Date:   Thu Dec 6 10:05:42 2018 -0200
Branches: blender2.8
https://developer.blender.org/rBda7f00b9c954c7eea83e88690dd9c18aa7907bc7

GPU Extensions: unused_fb_slot_workaround: Compare only the driver.

Dozens of renderes are included.

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

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 0df789b83b8..8fcc69b31bc 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -272,11 +272,15 @@ void gpu_extensions_init(void)
 
 #ifdef _WIN32
 		if (strstr(version, "4.5.13399") ||
-		    strstr(version, "4.5.13417") ||
-		    strstr(renderer, "Radeon HD 7500M") ||
-		    strstr(renderer, "Radeon HD 7570M") ||
-		    strstr(renderer, "Radeon HD 7600M"))
+		    strstr(version, "4.5.13417"))
 		{
+			/* The renderers include:
+			 *   Mobility Radeon HD 5000;
+			 *   Radeon HD 7500M;
+			 *   Radeon HD 7570M;
+			 *   Radeon HD 7600M;
+			 * And many others... */
+
 			GG.unused_fb_slot_workaround = true;
 		}
 #endif



More information about the Bf-blender-cvs mailing list