Proper Uniform Syntax
1whatleytay opened this issue · 0 comments
1whatleytay commented
uniform Light light;
vs uniform LightType { Light self; } lightRef;
.
Makes no sense and complicates SPIRV. Downsides is that it complicates SPIRV-Cross code (not by much) and requires users to compile with OpenGL as a target (for glslangValidator it isn't default).