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