4590c63b40
Add scalar swizzling to constant composites as well.
19 lines
301 B
GLSL
19 lines
301 B
GLSL
static float4 gl_Position;
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float4 gl_Position : SV_Position;
|
|
};
|
|
|
|
void vert_main()
|
|
{
|
|
gl_Position = 1.0f.xxxx;
|
|
}
|
|
|
|
SPIRV_Cross_Output main()
|
|
{
|
|
vert_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.gl_Position = gl_Position;
|
|
return stage_output;
|
|
}
|