18 lines
254 B
Plaintext
18 lines
254 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void x(thread float* const p) {
|
||
|
*(p) = 0.0f;
|
||
|
}
|
||
|
|
||
|
void g(thread float* const tint_symbol) {
|
||
|
x(tint_symbol);
|
||
|
}
|
||
|
|
||
|
fragment void f() {
|
||
|
thread float tint_symbol_1 = 0.0f;
|
||
|
g(&(tint_symbol_1));
|
||
|
return;
|
||
|
}
|
||
|
|