mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-28 05:30:33 +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();
|
|
}
|