2017-05-04 08:10:30 +00:00
|
|
|
static float4 gl_Position;
|
|
|
|
static float gl_PointSize;
|
|
|
|
struct SPIRV_Cross_Output
|
|
|
|
{
|
|
|
|
float4 gl_Position : SV_Position;
|
|
|
|
};
|
|
|
|
|
|
|
|
void vert_main()
|
|
|
|
{
|
2018-01-04 12:16:56 +00:00
|
|
|
gl_Position = 1.0f.xxxx;
|
2017-05-04 08:10:30 +00:00
|
|
|
gl_PointSize = 10.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
SPIRV_Cross_Output main()
|
|
|
|
{
|
|
|
|
vert_main();
|
|
|
|
SPIRV_Cross_Output stage_output;
|
|
|
|
stage_output.gl_Position = gl_Position;
|
|
|
|
return stage_output;
|
|
|
|
}
|