Add ShaderReflector

- Used to look at the shader files and find set/binding automatically
This commit is contained in:
Thraix
2023-03-14 22:56:11 +01:00
parent 6e463b3560
commit 4fe719858d
20 changed files with 382 additions and 151 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ layout(location = 0) out vec3 fragColor;
layout(location = 1) out vec2 fragTexCoord;
layout(location = 2) out int fragTexIndex;
void main() {
void main()
{
gl_Position = vec4(inPosition, 1.0);
fragColor = inColor;
fragTexCoord = inTexCoord;