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

bitcast_icmp.asm.comp « comp « asm « shaders-msl « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a55d8916dfa24709a84d41c6f492761175ffe933 (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
27
28
29
#include <metal_stdlib>
#include <simd/simd.h>

using namespace metal;

struct _3
{
    int4 _m0;
    uint4 _m1;
};

struct _4
{
    uint4 _m0;
    int4 _m1;
};

kernel void main0(device _3& __restrict _5 [[buffer(0)]], device _4& __restrict _6 [[buffer(1)]])
{
    _6._m0 = uint4(int4(_5._m1) < _5._m0);
    _6._m0 = uint4(int4(_5._m1) <= _5._m0);
    _6._m0 = uint4(_5._m1 < uint4(_5._m0));
    _6._m0 = uint4(_5._m1 <= uint4(_5._m0));
    _6._m0 = uint4(int4(_5._m1) > _5._m0);
    _6._m0 = uint4(int4(_5._m1) >= _5._m0);
    _6._m0 = uint4(_5._m1 > uint4(_5._m0));
    _6._m0 = uint4(_5._m1 >= uint4(_5._m0));
}