18 lines
314 B
Plaintext
18 lines
314 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
struct tint_private_vars_struct {
|
|
float4 P;
|
|
};
|
|
|
|
float4 func(thread float4* const pointer) {
|
|
return *(pointer);
|
|
}
|
|
|
|
kernel void tint_symbol() {
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
float4 const r = func(&(tint_private_vars.P));
|
|
return;
|
|
}
|
|
|