glslang/Test/link.vk.pcNamingInvalid.0.1.vert
2020-10-12 10:08:47 -06:00

23 lines
210 B
GLSL

#version 450
layout (push_constant) uniform Block2
{
mat4 uWorld;
mat4 uProj;
vec4 color1;
vec4 color2;
} a;
in vec4 P;
vec4 getColor2()
{
return a.color2;
}
vec4 getWorld()
{
return a.uWorld * P;
}