SPIRV-Cross/reference/shaders-hlsl-no-opt/frag/helper-invocation.fxconly.nofxc.frag
2022-03-04 10:58:40 +01:00

27 lines
433 B
GLSL

static float FragColor;
struct SPIRV_Cross_Input
{
};
struct SPIRV_Cross_Output
{
float FragColor : SV_Target0;
};
void frag_main()
{
FragColor = float(IsHelperLane());
discard;
bool _16 = IsHelperLane();
FragColor = float(_16);
}
SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
{
frag_main();
SPIRV_Cross_Output stage_output;
stage_output.FragColor = FragColor;
return stage_output;
}