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

volatile-helper-invocation.msl23.spv16.frag « frag « shaders-msl-no-opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eef92efea05474e395652a46b19772431aed438e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

struct main0_out
{
    float FragColor [[color(0)]];
};

fragment main0_out main0()
{
    main0_out out = {};
    bool _12 = simd_is_helper_thread();
    float _15 = float(_12);
    out.FragColor = _15;
    discard_fragment();
    bool _16 = simd_is_helper_thread();
    float _17 = float(_16);
    out.FragColor = _17;
    return out;
}