13 lines
214 B
GLSL
13 lines
214 B
GLSL
|
#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);
|
||
|
}
|
||
|
|