SPIRV-Cross/shaders-msl-no-opt/vert/uninitialized-vertex-output.vert
Hans-Kristian Arntzen a4a9b53b5b MSL: Always enable Outputs in vertex stages.
Subsequent stages can legally attempt to read from these variables,
which causes compilation failure.

Always make sure we emit user outputs in vertex shaders if they are
active in the entry point.
2021-01-07 11:24:47 +01:00

9 lines
92 B
GLSL

#version 450
layout(location = 0) out vec4 Pos;
void main()
{
gl_Position = vec4(1.0);
}