mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 13:51:04 +00:00
19 lines
271 B
GLSL
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();
|
|
}
|