Welcome to mirror list, hosted at ThFree Co, Russian Federation.

helper-invocation.fxconly.nofxc.frag « frag « shaders-hlsl-no-opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad61b21ea38774f0a21536a89789742e83f6bef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
}