#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
float3x2 tint_symbol; | |
float3 vector; | |
}; | |
struct tint_module_vars_struct { | |
const constant S* data; | |
}; | |
fragment void tint_symbol_1(const constant S* data [[buffer(0)]]) { | |
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.data=data}; | |
float2 const x = ((*tint_module_vars.data).tint_symbol * (*tint_module_vars.data).vector); | |
} |