GPU: Add Intel HD Graphics 530 to the list of buggy intel gpus
[blender.git] / source / blender / gpu / intern / gpu_extensions.c
index 29ca8017035a5f0be9c2cf7f1d3bfbf7b917e028..6a65a922d89e837be5788174a2927332588e1200 100644 (file)
@@ -271,9 +271,16 @@ void gpu_extensions_init(void)
                GG.driver = GPU_DRIVER_OFFICIAL;
 
 #ifdef _WIN32
-               if (strstr(vendor, "Radeon HD 7500M") ||
-                   strstr(vendor, "Radeon HD 7570M"))
+               if (strstr(version, "4.5.13399") ||
+                   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
@@ -300,6 +307,8 @@ void gpu_extensions_init(void)
                GG.driver = GPU_DRIVER_OFFICIAL;
 
                if (strstr(renderer, "UHD Graphics") ||
+                   /* Not UHD but affected by the same bugs. */
+                   strstr(renderer, "HD Graphics 530") ||
                    strstr(renderer, "Kaby Lake GT2"))
                {
                        GG.device |= GPU_DEVICE_INTEL_UHD;