vulkan: Disable the uber shader

There are too many systems where compiling the uber shader takes
multiple seconds, or even minutes. So disabled it for now.
This commit is contained in:
Matthias Clasen 2024-05-01 14:10:03 -04:00
parent a8fcde11de
commit 2af0682074

View File

@ -110,6 +110,11 @@ gsk_vulkan_renderer_create_context (GskGpuRenderer *renderer,
!gdk_display_has_vulkan_feature (display, GDK_VULKAN_FEATURE_NONUNIFORM_INDEXING))
*supported &= ~GSK_GPU_OPTIMIZE_UBER;
/* Sadly, there are too many systems out there where compiling the uber shader
* takes multiple seconds, or even minutes. So just disabled it for now.
*/
*supported &= ~GSK_GPU_OPTIMIZE_UBER;
return GDK_DRAW_CONTEXT (context);
}