mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-01-23 12:24:31 +08:00
15 lines
204 B
GLSL
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;
|
||
|
}
|