[Bf-blender-cvs] [13125e09488] blender-v2.83-release: GPU: Attempt to fix Crash on startup with Intel HD Graphics 620/630
Clément Foucault
noreply at git.blender.org
Tue May 19 22:24:31 CEST 2020
Commit: 13125e0948816f0debe6d298e9c7b436fb5a1db1
Author: Clément Foucault
Date: Tue May 19 22:24:03 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB13125e0948816f0debe6d298e9c7b436fb5a1db1
GPU: Attempt to fix Crash on startup with Intel HD Graphics 620/630
This only enables the workarounds that we know have effects on intels.
We could add the other workarounds if needed.
Related task T72098
===================================================================
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 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;
More information about the Bf-blender-cvs
mailing list