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

bitcast_iadd.asm.comp « comp « asm « shaders-msl « opt « reference - github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbbf27d65da10e281f64d6a5501f297a24e46d31 (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 = _5._m1 + uint4(_5._m0);
    _6._m0 = uint4(_5._m0) + _5._m1;
    _6._m0 = _5._m1 + _5._m1;
    _6._m0 = uint4(_5._m0 + _5._m0);
    _6._m1 = int4(_5._m1 + _5._m1);
    _6._m1 = _5._m0 + _5._m0;
    _6._m1 = int4(_5._m1) + _5._m0;
    _6._m1 = _5._m0 + int4(_5._m1);
}