Add location decorators & change to use structs as in/out in glsl, update embedded spv (produced with glslangValidator -x)

This commit is contained in:
Marcell Kiss
2016-10-18 22:43:20 +02:00
parent 44250caf50
commit 53126cd713
4 changed files with 81 additions and 165 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ layout(push_constant) uniform uPushConstant{
vec2 uTranslate;
} pc;
out block{
layout(location = 0) out struct{
vec4 Color;
vec2 UV;
} Out;