GPU: more complete coverage of drivers for Intel shader compilation workaround

This commit is contained in:
Brecht Van Lommel 2019-08-01 20:43:13 +02:00
parent 80123efc5f
commit aa0322524e
Notes: blender-bot 2023-02-14 11:20:29 +01:00
Referenced by issue #68049, Blender 2.8 crashed on New Material Adding
Referenced by issue #67951, you cannot select bones individually
Referenced by issue #67668, Blender crashes on Viewport Shading with  Intel(R) HD Graphics 4600 Intel 4.3.0
1 changed files with 2 additions and 5 deletions

View File

@ -387,11 +387,8 @@ void gpu_extensions_init(void)
GG.dfdyfactors[1] = 1.0;
}
if (strstr(version, "Build 10.18.10.3379") || strstr(version, "Build 10.18.10.3574") ||
strstr(version, "Build 10.18.10.4252") || strstr(version, "Build 10.18.10.4358") ||
strstr(version, "Build 10.18.10.4653") || strstr(version, "Build 10.18.10.5069") ||
strstr(version, "Build 10.18.14.4264") || strstr(version, "Build 10.18.14.4432") ||
strstr(version, "Build 10.18.14.5067")) {
if (strstr(version, "Build 10.18.10.3") || strstr(version, "Build 10.18.10.4") ||
strstr(version, "Build 10.18.14.4") || strstr(version, "Build 10.18.14.5")) {
/* Maybe not all of these drivers have problems with `GLEW_ARB_base_instance`.
* But it's hard to test each case. */
GG.glew_arb_base_instance_is_supported = false;