qtbase-opensource-src/examples/vulkan/hellovulkancubes/color.frag

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);
}