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

multiple-entry.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: 3584373379010b18a1da502a983f220faec073c6 (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 _6
{
    int4 _m0;
    uint4 _m1;
};

struct _7
{
    uint4 _m0;
    int4 _m1;
};

kernel void main0(device _6& __restrict _8 [[buffer(0)]], device _7& __restrict _9 [[buffer(1)]])
{
    _9._m0 = _8._m1 + uint4(_8._m0);
    _9._m0 = uint4(_8._m0) + _8._m1;
    _9._m0 = _8._m1 + _8._m1;
    _9._m0 = uint4(_8._m0 + _8._m0);
    _9._m1 = int4(_8._m1 + _8._m1);
    _9._m1 = _8._m0 + _8._m0;
    _9._m1 = int4(_8._m1) + _8._m0;
    _9._m1 = _8._m0 + int4(_8._m1);
}