14 lines
217 B
Plaintext
14 lines
217 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
struct S {
|
||
|
/* 0x0000 */ int a;
|
||
|
};
|
||
|
|
||
|
kernel void tint_symbol(constant S& v [[buffer(0)]]) {
|
||
|
constant int* const p = &(v.a);
|
||
|
int const use = (*(p) + 1);
|
||
|
return;
|
||
|
}
|
||
|
|