Fixed shaders to be SPIR-V compatible, added a script that converts
[demo] / shaders / sky.v.glsl
index f5ba24f..debf579 100644 (file)
@@ -10,7 +10,7 @@ layout(std140, binding = SKY_MATRIX_UNIFORMS) uniform svu {
 layout(location = 1) in vec3 attr_pos;
 layout(location = 2) in vec3 attr_normal;
 
-out vec3 normal;
+layout(location = 0) out vec3 normal;
 
 void main()
 {