12 lines
216 B
GLSL
12 lines
216 B
GLSL
|
#version 460 core
|
||
|
|
||
|
layout(location = 0) in vec3 inPosition;
|
||
|
|
||
|
layout(push_constant) uniform PushConstants {
|
||
|
mat4 mvp;
|
||
|
} pushConstants;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = pushConstants.mvp * vec4(inPosition, 1.0);
|
||
|
}
|