Crafter.Graphics/shaders
catbot a8ed369c71 perf(shaders): drop nonuniformEXT on text font slots
fontTextureSlot/fontSamplerSlot are push constants, hence provably
dynamically uniform. Wrapping them in nonuniformEXT forced the
per-invocation divergent-descriptor path and blocked hoisting the
uniform descriptor load out of the per-pixel glyph loop.

Removing the decoration is zero correctness risk — it is purely a
read-index hint. Not applied to ui-images.comp.glsl, whose slots come
from an SSBO load the compiler cannot prove uniform.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 15:29:29 +00:00
..
ui-circles.comp.glsl UI rewrite 3rd attempt 2026-05-02 21:08:20 +02:00
ui-images.comp.glsl UI rewrite 3rd attempt 2026-05-02 21:08:20 +02:00
ui-quads.comp.glsl UI rewrite 3rd attempt 2026-05-02 21:08:20 +02:00
ui-shared.glsl UI rewrite 3rd attempt 2026-05-02 21:08:20 +02:00
ui-text.comp.glsl perf(shaders): drop nonuniformEXT on text font slots 2026-06-16 15:29:29 +00:00