dawn-cmake/test/tint/bug/tint/1086.wgsl.expected.msl

18 lines
208 B
Plaintext

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