2022-12-01 18:49:09 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2023-03-20 21:46:01 +00:00
|
|
|
struct tint_private_vars_struct {
|
|
|
|
float4 P;
|
|
|
|
};
|
|
|
|
|
2022-12-01 18:49:09 +00:00
|
|
|
float4 func(thread float4* const pointer) {
|
|
|
|
return *(pointer);
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel void tint_symbol() {
|
2023-03-20 21:46:01 +00:00
|
|
|
thread tint_private_vars_struct tint_private_vars = {};
|
|
|
|
float4 const r = func(&(tint_private_vars.P));
|
2022-12-01 18:49:09 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|