blob: 8587b5a81e02e79f89dce90e2dff2c67a8cc6222 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant float2* weights;
};
fragment void tint_symbol(const constant float2* weights [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = {.weights=weights};
float a = (*tint_module_vars.weights)[0];
}