Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/opengl/gl_backend.cc
| Show First 20 Lines • Show All 277 Lines • ▼ Show 20 Lines | if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) && | ||||
| * And others... */ | * And others... */ | ||||
| GLContext::unused_fb_slot_workaround = true; | GLContext::unused_fb_slot_workaround = true; | ||||
| GCaps.mip_render_workaround = true; | GCaps.mip_render_workaround = true; | ||||
| GCaps.shader_image_load_store_support = false; | GCaps.shader_image_load_store_support = false; | ||||
| GCaps.broken_amd_driver = true; | GCaps.broken_amd_driver = true; | ||||
| } | } | ||||
| /* We have issues with this specific renderer. (see T74024) */ | /* We have issues with this specific renderer. (see T74024) */ | ||||
| if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) && | if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) && | ||||
| strstr(renderer, "AMD VERDE")) { | (strstr(renderer, "AMD VERDE") || strstr(renderer, "AMD KAVERI") || | ||||
| strstr(renderer, "AMD TAHITI"))) { | |||||
| GLContext::unused_fb_slot_workaround = true; | GLContext::unused_fb_slot_workaround = true; | ||||
| GCaps.shader_image_load_store_support = false; | GCaps.shader_image_load_store_support = false; | ||||
| GCaps.broken_amd_driver = true; | GCaps.broken_amd_driver = true; | ||||
| } | } | ||||
| /* Fix slowdown on this particular driver. (see T77641) */ | /* Fix slowdown on this particular driver. (see T77641) */ | ||||
| if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) && | if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OPENSOURCE) && | ||||
| strstr(version, "Mesa 19.3.4")) { | strstr(version, "Mesa 19.3.4")) { | ||||
| GCaps.shader_image_load_store_support = false; | GCaps.shader_image_load_store_support = false; | ||||
| ▲ Show 20 Lines • Show All 208 Lines • Show Last 20 Lines | |||||