mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
GPU: disable compute shader for problematic drivers
Some drivers for legacy platforms seem to have issues with compute shaders, as revealed by T94936. This disables compute shader for the known drivers where this issue is present. It is not clear if the issue is Windows only or not, so this disable them for all operating systems. See T94936 for a list of configurations where the issue is reproducible or not. Differential Revision: https://developer.blender.org/D14264
This commit is contained in:
parent
1d902a6367
commit
3a672fe6fb
1 changed files with 5 additions and 0 deletions
|
|
@ -283,6 +283,11 @@ static void detect_workarounds()
|
|||
GCaps.shader_image_load_store_support = false;
|
||||
GCaps.broken_amd_driver = true;
|
||||
}
|
||||
/* Compute shaders have some issues with those versions (see T94936). */
|
||||
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_OFFICIAL) &&
|
||||
(strstr(version, "4.5.14831") || strstr(version, "4.5.14760"))) {
|
||||
GCaps.compute_shader_support = false;
|
||||
}
|
||||
/* We have issues with this specific renderer. (see T74024) */
|
||||
if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) &&
|
||||
(strstr(renderer, "AMD VERDE") || strstr(renderer, "AMD KAVERI") ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue