mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
24 lines
394 B
GLSL
24 lines
394 B
GLSL
static const uint s = 10u;
|
|
static const bool _13 = (s > 20u);
|
|
static const uint _16 = _13 ? 30u : 50u;
|
|
|
|
static float FragColor;
|
|
|
|
struct SPIRV_Cross_Output
|
|
{
|
|
float FragColor : SV_Target0;
|
|
};
|
|
|
|
void frag_main()
|
|
{
|
|
FragColor = float(_16);
|
|
}
|
|
|
|
SPIRV_Cross_Output main()
|
|
{
|
|
frag_main();
|
|
SPIRV_Cross_Output stage_output;
|
|
stage_output.FragColor = FragColor;
|
|
return stage_output;
|
|
}
|