14 lines
192 B
Plaintext
14 lines
192 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
int func(thread int* const pointer) {
|
||
|
return *(pointer);
|
||
|
}
|
||
|
|
||
|
kernel void tint_symbol() {
|
||
|
int F = 0;
|
||
|
int const r = func(&(F));
|
||
|
return;
|
||
|
}
|
||
|
|