Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_extensions.c
| Show First 20 Lines • Show All 372 Lines • ▼ Show 20 Lines | if (strstr(version, "4.0.0 - Build 10.18.10.3308") || | ||||
| GG.dfdyfactors[0] = -1.0; | GG.dfdyfactors[0] = -1.0; | ||||
| GG.dfdyfactors[1] = 1.0; | GG.dfdyfactors[1] = 1.0; | ||||
| } | } | ||||
| else { | else { | ||||
| GG.dfdyfactors[0] = 1.0; | GG.dfdyfactors[0] = 1.0; | ||||
| GG.dfdyfactors[1] = 1.0; | GG.dfdyfactors[1] = 1.0; | ||||
| } | } | ||||
| if (strstr(renderer, "HD Graphics 4000")) { | if (strstr(version, "4.0.0 - Build 10.18.10.4358") || | ||||
| strstr(version, "4.0.0 - Build 10.18.10.4252") || | |||||
| strstr(version, "4.0.0 - Build 10.18.10.5069") || | |||||
| strstr(version, "4.2.0 - Build 10.18.10.3574") || | |||||
| strstr(version, "4.3.0 - Build 10.18.14.4432") || | |||||
| strstr(version, "4.3.0 - Build 10.18.14.5067")) { | |||||
| GG.context_local_shaders_workaround = true; | GG.context_local_shaders_workaround = true; | ||||
| } | } | ||||
| } | } | ||||
| GPU_invalid_tex_init(); | GPU_invalid_tex_init(); | ||||
| } | } | ||||
| void gpu_extensions_exit(void) | void gpu_extensions_exit(void) | ||||
| Show All 31 Lines | |||||