Fix T70187: GPU Driver: Merge Vertices Crashes ATI/Linux/OpenSource

This has been tested with 18.2.2, 19.0.8 and 19.3.0~develop.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D5886
This commit is contained in:
Jeroen Bakker
2019-09-25 15:54:55 +02:00
parent b651ac6531
commit f8da7218be

View File

@@ -401,6 +401,12 @@ void gpu_extensions_init(void)
GG.context_local_shaders_workaround = true;
}
}
else if ((GG.device == GPU_DEVICE_ATI) && (GG.os == GPU_OS_UNIX) &&
(GG.driver == GPU_DRIVER_OPENSOURCE)) {
/* See T70187: merging vertices fail. This has been tested from 18.2.2 till 19.3.0~dev of the
* Mesa driver */
GG.unused_fb_slot_workaround = true;
}
GPU_invalid_tex_init();
}