Vulkan example: Fix validation layer warnings and errors and redeclare gl_PerVertex.

This commit is contained in:
Håvard Mathisen
2016-11-13 03:00:36 +01:00
parent 1a0e414d3a
commit 08ef9819c8
3 changed files with 82 additions and 49 deletions
+4
View File
@@ -8,6 +8,10 @@ layout(push_constant) uniform uPushConstant{
vec2 uTranslate;
} pc;
out gl_PerVertex{
vec4 gl_Position;
};
layout(location = 0) out struct{
vec4 Color;
vec2 UV;