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