blob: 0728c96b97708b7cca61b200e3c454720940ad61 [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 = tint_module_vars_struct{.weights=weights};
float a = (*tint_module_vars.weights)[0];
}