Benjamin Otte
4473f5d439
gpu: Introduce gsk_texture() shader function/macro
...
Due to GLES and old GL not allowing non-constant texture array
lookups,we need to turn the array lookup into a big switch statementin
those versions, and that requires putting the texture() call into that
switch.
But with that trick, we can use texture IDs in GLSL.
2024-01-04 01:36:08 +01:00
..
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:08 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:07 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:06 +01:00
2024-01-04 01:36:05 +01:00
2024-01-04 01:36:05 +01:00