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

22 lines
255 B
GLSL

#version 450
layout (push_constant) uniform Block
{
mat4 uWorld;
mat4 uProj;
vec4 color1;
vec4 color2;
} a;
vec4 getWorld();
vec4 getColor2();
out vec4 oColor;
void
main()
{
oColor = a.color1 * getColor2();
gl_Position = a.uProj * getWorld();
}