SPIRV-Cross/reference/opt/shaders/asm/vert/global-builtin.sso.asm.vert
2018-03-12 15:11:55 +01:00

21 lines
220 B
GLSL

#version 450
out gl_PerVertex
{
vec4 gl_Position;
};
struct VSOut
{
float a;
};
layout(location = 0) out VSOut _entryPointOutput;
void main()
{
_entryPointOutput.a = 40.0;
gl_Position = vec4(1.0);
}