12 lines
168 B
Plaintext
12 lines
168 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
kernel void tint_symbol() {
|
||
|
int i = 123;
|
||
|
int* const p = &(i);
|
||
|
*(p) = 123;
|
||
|
*(p) = ((100 + 20) + 3);
|
||
|
return;
|
||
|
}
|
||
|
|