mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
29 lines
446 B
GLSL
29 lines
446 B
GLSL
static float4 FragColor;
|
|
|
|
struct VertexOut
|
|
{
|
|
float4 a : TEXCOORD1;
|
|
float4 b : TEXCOORD2;
|
|
};
|
|
|
|
static VertexOut _12;
|
|
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float4 FragColor : SV_Target0;
|
|
};
|
|
|
|
void frag_main()
|
|
{
|
|
FragColor = _12.a + _12.b;
|
|
}
|
|
|
|
SPIRV_Cross_Output main(in VertexOut stage_input_12)
|
|
{
|
|
_12 = stage_input_12;
|
|
frag_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.FragColor = FragColor;
|
|
return stage_output;
|
|
}
|