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
This commit is contained in:
parent
a5a069c272
commit
13125e0948
Notes:
blender-bot
2023-02-14 00:03:28 +01:00
Referenced by issue #72098, Crash on startup with 2.82 and Intel HD + Windows
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue