mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
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:
parent
a8fcde11de
commit
2af0682074
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user