11 lines
216 B
GLSL
Executable file
11 lines
216 B
GLSL
Executable file
#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);
|
|
}
|