Fix #111587: Enable SSBOs for Intel 4400/4600 GPUs

This commit is contained in:
Miguel Pozo
2023-08-31 20:27:55 +02:00
parent 7833703603
commit f70bb87dd1

View File

@@ -439,13 +439,6 @@ static void detect_workarounds()
GLContext::generate_mipmap_workaround = true;
}
/* Buggy interface query functions cause crashes when handling SSBOs (#93680) */
if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_ANY, GPU_DRIVER_ANY) &&
(strstr(renderer, "HD Graphics 4400") || strstr(renderer, "HD Graphics 4600")))
{
GCaps.shader_storage_buffer_objects_support = false;
}
/* Certain Intel/AMD based platforms don't clear the viewport textures. Always clearing leads to
* noticeable performance regressions on other platforms as well. */
if (GPU_type_matches(GPU_DEVICE_ANY, GPU_OS_MAC, GPU_DRIVER_ANY) ||