mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 18:39:55 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
24 lines
519 B
GLSL
24 lines
519 B
GLSL
static float4 gl_Position;
|
|
static float4x4 m;
|
|
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float4x4 m : TEXCOORD0;
|
|
float4 gl_Position : SV_Position;
|
|
};
|
|
|
|
void vert_main()
|
|
{
|
|
gl_Position = 1.0f.xxxx;
|
|
m = float4x4(float4(1.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 1.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 1.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 1.0f));
|
|
}
|
|
|
|
SPIRV_Cross_Output main()
|
|
{
|
|
vert_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.gl_Position = gl_Position;
|
|
stage_output.m = m;
|
|
return stage_output;
|
|
}
|