SPIRV-Cross/reference/opt/shaders-hlsl/vert/point-size-compat.vert
2018-02-23 15:58:35 +01:00

21 lines
353 B
GLSL

static float4 gl_Position;
static float gl_PointSize;
struct SPIRV_Cross_Output
{
float4 gl_Position : SV_Position;
};
void vert_main()
{
gl_Position = 1.0f.xxxx;
gl_PointSize = 1.0f;
}
SPIRV_Cross_Output main()
{
vert_main();
SPIRV_Cross_Output stage_output;
stage_output.gl_Position = gl_Position;
return stage_output;
}