2019-10-14 14:08:39 +00:00
|
|
|
#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)]])
|
|
|
|
{
|
2021-06-28 09:10:55 +00:00
|
|
|
_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));
|
2019-10-14 14:08:39 +00:00
|
|
|
}
|
|
|
|
|