mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 23:54:06 +00:00
19 lines
206 B
Plaintext
19 lines
206 B
Plaintext
|
#include <metal_stdlib>
|
||
|
#include <simd/simd.h>
|
||
|
|
||
|
using namespace metal;
|
||
|
|
||
|
struct BUF
|
||
|
{
|
||
|
int a;
|
||
|
float b;
|
||
|
float c;
|
||
|
};
|
||
|
|
||
|
kernel void main0(device BUF& o [[buffer(0)]])
|
||
|
{
|
||
|
o.a = 4;
|
||
|
o.b = o.c;
|
||
|
}
|
||
|
|