mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-23 12:24:31 +08:00
13 lines
187 B
GLSL
13 lines
187 B
GLSL
|
#version 440
|
||
|
|
||
|
layout(push_constant) uniform PC {
|
||
|
layout(offset = 64) vec3 color;
|
||
|
} pc;
|
||
|
|
||
|
layout(location = 0) out vec4 fragColor;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
fragColor = vec4(pc.color, 1.0);
|
||
|
}
|