Files
gtk/gdk
Benjamin Otte 03cd652063 gpu: Disable the ubershader when shaders aren't nonuniform
If shaders don't support nonuniform indexing, we emulate it via if/else
ladders (or switch ladders) which get inlined by the GLSL compiles and
massively blow up the code.

And that makes compilation of the shaders take minutes and results in
shader code that isn't necessarily faster.

So we disable it on GL entirely and on Vulkan if the required features
aren't available.

As it's only an optimization and does not fall back to Cairo anymore,
this should be fine.
2024-01-07 08:18:36 +01:00
..
2023-05-09 16:43:35 +01:00
2023-11-20 08:02:03 -05:00
2023-09-21 19:51:11 +02:00
2023-11-20 08:02:03 -05:00
2023-10-11 15:43:01 -04:00
2022-09-23 23:33:42 -04:00
2023-05-15 20:30:38 -04:00
2023-05-15 18:22:37 -04:00
2021-09-24 22:50:29 +02:00
2022-10-05 23:01:28 -04:00
2022-09-23 23:33:42 -04:00
2022-09-23 23:33:42 -04:00
2023-11-20 08:02:03 -05:00
2022-11-17 22:49:45 -05:00
2021-05-22 17:25:26 -04:00
2023-05-01 10:40:26 -04:00
2022-09-23 23:33:42 -04:00
2023-10-19 10:06:53 -04:00
2024-01-03 08:49:39 +01:00
2023-12-22 08:47:47 -05:00
2023-03-14 14:56:42 -04:00
2021-09-24 22:50:29 +02:00
2023-10-24 07:16:42 -04:00
2021-09-10 16:56:42 -05:00
2022-09-24 10:03:37 -04:00
2023-03-31 15:11:10 -04:00
2023-07-31 16:51:03 +02:00
2022-09-23 23:33:42 -04:00
2023-03-27 21:29:08 +02:00
2023-03-31 15:11:10 -04:00
2021-05-22 17:25:26 -04:00
2024-01-07 07:22:52 +01:00
2024-01-07 07:22:52 +01:00
2022-09-23 23:33:42 -04:00
2023-05-15 15:25:11 -04:00
2023-07-30 11:40:09 +03:00
2021-05-22 17:25:26 -04:00
2023-12-20 01:51:46 +01:00