Add support for constant strings to GLSL preproc
- Aug 19, 2023
-
-
Niklas Haas authored
Add const char examples, and also document the `ident` type for completeness' sake.
e78c3512 -
Niklas Haas authored
No need to NIH this code here.
d874dfc0 -
Niklas Haas authored58f9bf33
-
Niklas Haas authored
And allow it to return a constant string, suitable for use with #pragma GLSL. Split off counting the number of components to a separate function.
e424f920 -
Niklas Haas authored
These are passed as pointers, with all the implications that entails.
fa811a40 -
Niklas Haas authored
Inconsequential, but sorts these structs better.
38a0d667
-