blob: 91233debcad33a3037a6b4b6f1c7aabb7234c89f [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant float2x4* S;
};
float4 func(const constant float4* const pointer) {
return (*pointer);
}
kernel void tint_symbol(const constant float2x4* S [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = {.S=S};
float4 const r = func((&(*tint_module_vars.S)[1]));
}