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

23 lines
232 B
GLSL

#version 450
layout (push_constant) uniform PCBlock
{
mat4 uWorld;
mat4 uProj;
vec4 color1;
vec4 color2;
} b;
layout(location = 0) in vec4 P;
vec4 getColor2()
{
return b.color2;
}
vec4 getWorld()
{
return b.uWorld * P;
}