13 lines
243 B
Plaintext
13 lines
243 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
int func(const constant int* const pointer) {
|
||
|
return *(pointer);
|
||
|
}
|
||
|
|
||
|
kernel void tint_symbol(const constant int* tint_symbol_1 [[buffer(0)]]) {
|
||
|
int const r = func(tint_symbol_1);
|
||
|
return;
|
||
|
}
|
||
|
|