#include <metal_stdlib>
using namespace metal;

struct S {
  half3x2 tint_symbol;
  half3 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};
  half2 const x = ((*tint_module_vars.data).tint_symbol * (*tint_module_vars.data).vector);
}
