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

19 lines
271 B
GLSL

#version 450
layout(location=0) out vec4 color;
layout (push_constant) uniform PushConstantBlock
{
vec4 color;
vec4 color2;
float scale;
} uPC;
vec4 getColor2();
float getScale();
void main()
{
color = uPC.color + getColor2() * getScale();
}