Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2020-05-30 11:34:11 +0300
committerYimingWu <xp8110@outlook.com>2020-05-30 11:34:11 +0300
commit3b52dfe549f0c2fca7e0cd499b85fb098e9b4da9 (patch)
tree668b6b25da0efdb87058b197084094181fb0c09f /source/blender/gpu/intern/gpu_extensions.c
parentcd54abd2c1316136753f7bbe227bd762a5f9e7d9 (diff)
parent2ee94c954d6700a45fde320f330964bcf1888545 (diff)
Merge remote-tracking branch 'origin/master' into temp-lanpr-review
# Conflicts: # release/datafiles/locale # release/scripts/addons # source/blender/blenkernel/intern/lib_query.c
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index e3632b82778..ff745787630 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -304,6 +304,14 @@ void gpu_extensions_init(void)
GG.context_local_shaders_workaround = GLEW_ARB_get_program_binary;
}
+ /* Special fix for theses specific GPUs. Without thoses workaround, blender crashes on strartup.
+ * (see T72098) */
+ if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
+ (strstr(renderer, "HD Graphics 620") || strstr(renderer, "HD Graphics 630"))) {
+ GG.mip_render_workaround = true;
+ GG.context_local_shaders_workaround = GLEW_ARB_get_program_binary;
+ }
+
/* df/dy calculation factors, those are dependent on driver */
GG.dfdyfactors[0] = 1.0;
GG.dfdyfactors[1] = 1.0;