Shader_Minifier icon indicating copy to clipboard operation
Shader_Minifier copied to clipboard

HLSL struct member functions

Open sagacity opened this issue 6 months ago • 1 comments

Struct member functions don't seem to parse correctly, e.g.:

struct Foo {
   void someFunction() {}
};

This results in:

Parse error: Error in input: Ln: 2 Col: 21
   void someFunction() {}
                    ^
Expecting: ',', ':', ';', '=' or '['

sagacity avatar Jul 15 '25 15:07 sagacity