diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-25 16:54:55 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-09-25 16:57:34 +0300 |
commit | f8da7218be130b26eccc33df2ba78004509e4b82 (patch) | |
tree | 13c7cf0dbde7f6e13de143703e178a5d8488994e /source/blender/gpu/intern | |
parent | b651ac6531d9dbbdadfa432bc825fa5b515a523a (diff) |
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
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 8368577a05d..7b6759c44bf 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -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(); } |