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:40:58 +02:00
parent 44250caf50
commit 53126cd713
4 changed files with 81 additions and 165 deletions

View File

@@ -1,9 +1,9 @@
#version 450 core
layout(location = 0, index = 0) out vec4 fColor;
layout(location = 0) out vec4 fColor;
layout(set=0, binding=0) uniform sampler2D sTexture;
in block{
layout(location = 0) in struct{
vec4 Color;
vec2 UV;
} In;