Commit03772558Recorded19 Sep 2026Repositorysigil-graphics

README: the uniform caps and compile errors are load-shader errors

Changed
 README.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Diff
README.mdmodified
@@ -58,7 +58,9 @@ both prefixes the version line under `cond-expand`.
58
`load-shader` scans the fragment source for `uniform` declarations of `float`,
59
`vec2`, `vec3`, `vec4` and `mat4`, scalar or array (`uniform vec4 palette[8];`, a
60
literal count; a `lowp`/`mediump`/`highp` qualifier is fine). `sampler2D` is not a
−61
uniform-block entry. Up to 16 declarations (an array is one), 1 KiB in total,
+61
uniform-block entry. Up to 16 declarations (an array is one) and 1 KiB in total,
+62
both checked by `load-shader` (the error names the limit); a GLSL compile error
+63
is an error too, with sokol's log line before it. Entries are
64
packed in declaration order.
65
66
```scheme