This was a leftover from sharing GLSL with Metal and OpenGL, this is now a warning with modern SPIR-V compilers anyway.
10 lines
184 B
GLSL
10 lines
184 B
GLSL
layout (location = 0) in vec3 inPosition;
|
|
|
|
layout(push_constant) uniform PushConstant{
|
|
mat4 mvp;
|
|
vec4 color;
|
|
};
|
|
|
|
void main() {
|
|
gl_Position = mvp * vec4(inPosition, 1.0);
|
|
}
|