#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
float4 P; | |
}; | |
void func(thread float4* const pointer) { | |
*(pointer) = float4(0.0f); | |
} | |
kernel void tint_symbol() { | |
thread tint_private_vars_struct tint_private_vars = {}; | |
func(&(tint_private_vars.P)); | |
return; | |
} | |