qt6windows7/examples/vulkan/hellovulkancubes/color.vert
2023-10-29 23:33:08 +01:00

15 lines
204 B
GLSL

#version 440
layout(location = 0) in vec4 position;
out gl_PerVertex { vec4 gl_Position; };
layout(push_constant) uniform PC {
mat4 mvp;
} pc;
void main()
{
gl_Position = pc.mvp * position;
}