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