Fix T84329: Crash when loading the blender with deprecated graphics driver

Add the driver `4.5.13467` related to `Radeon R5 Graphics` to the
workaround list.
This commit is contained in:
Germano Cavalcante 2021-01-27 10:51:56 -03:00
parent 8e52d76bcd
commit 6f7e2bf170
Notes: blender-bot 2023-02-14 04:39:18 +01:00
Referenced by issue #84329, Chrash before even starting
1 changed files with 8 additions and 7 deletions

View File

@ -244,15 +244,16 @@ static void detect_workarounds()
if (!GLEW_VERSION_4_0) {
GLContext::base_instance_support = false;
}
/* The renderers include:
* Mobility Radeon HD 5000;
* Radeon HD 7500M;
* Radeon HD 7570M;
* Radeon HD 7600M;
* And many others... */
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) &&
(strstr(version, "4.5.13399") || strstr(version, "4.5.13417") ||
strstr(version, "4.5.13422"))) {
strstr(version, "4.5.13422") || strstr(version, "4.5.13467"))) {
/* The renderers include:
* Radeon HD 5000;
* Radeon HD 7500M;
* Radeon HD 7570M;
* Radeon HD 7600M;
* Radeon R5 Graphics;
* And others... */
GLContext::unused_fb_slot_workaround = true;
GCaps.mip_render_workaround = true;
GCaps.shader_image_load_store_support = false;