mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 00:40:09 +00:00
git-subtree-dir: deps/SPIRV-Cross git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
27 lines
394 B
Plaintext
27 lines
394 B
Plaintext
#include <metal_stdlib>
|
|
#include <simd/simd.h>
|
|
|
|
using namespace metal;
|
|
|
|
struct SSBO
|
|
{
|
|
int a;
|
|
};
|
|
|
|
kernel void main0(device SSBO& _9 [[buffer(0)]])
|
|
{
|
|
_9.a += 10;
|
|
_9.a -= 10;
|
|
_9.a *= 10;
|
|
_9.a /= 10;
|
|
_9.a = _9.a << 2;
|
|
_9.a = _9.a >> 3;
|
|
_9.a &= 40;
|
|
_9.a ^= 10;
|
|
_9.a %= 40;
|
|
_9.a |= 1;
|
|
bool _65 = false && true;
|
|
_9.a = int(_65 && (true || _65));
|
|
}
|
|
|