public static bool2 shuffle(bool2 a, bool2 b, ShuffleComponent x, ShuffleComponent y) { return(bool2( select_shuffle_component(a, b, x), select_shuffle_component(a, b, y))); }
public static uint2 hashwide(bool2 v) { return(select(uint2(0xC9F27FCBu, 0x6D2523B1u), uint2(0x6E2BF6A9u, 0xCC74B3B7u), v)); }
public static bool shuffle(bool2 a, bool2 b, ShuffleComponent x) { return(select_shuffle_component(a, b, x)); }
public static bool2 bool2(bool2 xy) { return(new bool2(xy)); }
public static uint hash(bool2 v) { return(csum(select(uint2(0x90A285BBu, 0x5D19E1D5u), uint2(0xFAAF07DDu, 0x625C45BDu), v))); }
public static float2 float2(bool2 v) { return(new float2(v)); }
public DebuggerProxy(bool2 v) { x = v.x; y = v.y; }
public float2(bool2 v) { this.x = v.x ? 1.0f : 0.0f; this.y = v.y ? 1.0f : 0.0f; }
public bool2x2(bool v) { this.c0 = v; this.c1 = v; }
public bool2x2(bool m00, bool m01, bool m10, bool m11) { this.c0 = new bool2(m00, m10); this.c1 = new bool2(m01, m11); }
public static bool2x2 bool2x2(bool2 c0, bool2 c1) { return(new bool2x2(c0, c1)); }
public bool2x2(bool2 c0, bool2 c1) { this.c0 = c0; this.c1 = c1; }