aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders_ng/flatcolor.frag
blob: 3a677b7c93fadc349bf15b21fd8dff844ae788e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#version 440

layout(location = 0) out vec4 fragColor;

layout(std140, binding = 0) uniform buf {
    mat4 matrix;
    vec4 color;
} ubuf;

void main()
{
    fragColor = ubuf.color;
}