1 // Generated by swizzlegen. Do not edit. 2 #[macro_use] 3 mod support; 4 use glam::*; 5 6 glam_test!(test_uvec4_swizzles, { 7 let v = uvec4(1_u32, 2_u32, 3_u32, 4_u32); 8 assert_eq!(v, v.xyzw()); 9 assert_eq!(v.xxxx(), uvec4(1_u32, 1_u32, 1_u32, 1_u32)); 10 assert_eq!(v.xxxy(), uvec4(1_u32, 1_u32, 1_u32, 2_u32)); 11 assert_eq!(v.xxxz(), uvec4(1_u32, 1_u32, 1_u32, 3_u32)); 12 assert_eq!(v.xxxw(), uvec4(1_u32, 1_u32, 1_u32, 4_u32)); 13 assert_eq!(v.xxyx(), uvec4(1_u32, 1_u32, 2_u32, 1_u32)); 14 assert_eq!(v.xxyy(), uvec4(1_u32, 1_u32, 2_u32, 2_u32)); 15 assert_eq!(v.xxyz(), uvec4(1_u32, 1_u32, 2_u32, 3_u32)); 16 assert_eq!(v.xxyw(), uvec4(1_u32, 1_u32, 2_u32, 4_u32)); 17 assert_eq!(v.xxzx(), uvec4(1_u32, 1_u32, 3_u32, 1_u32)); 18 assert_eq!(v.xxzy(), uvec4(1_u32, 1_u32, 3_u32, 2_u32)); 19 assert_eq!(v.xxzz(), uvec4(1_u32, 1_u32, 3_u32, 3_u32)); 20 assert_eq!(v.xxzw(), uvec4(1_u32, 1_u32, 3_u32, 4_u32)); 21 assert_eq!(v.xxwx(), uvec4(1_u32, 1_u32, 4_u32, 1_u32)); 22 assert_eq!(v.xxwy(), uvec4(1_u32, 1_u32, 4_u32, 2_u32)); 23 assert_eq!(v.xxwz(), uvec4(1_u32, 1_u32, 4_u32, 3_u32)); 24 assert_eq!(v.xxww(), uvec4(1_u32, 1_u32, 4_u32, 4_u32)); 25 assert_eq!(v.xyxx(), uvec4(1_u32, 2_u32, 1_u32, 1_u32)); 26 assert_eq!(v.xyxy(), uvec4(1_u32, 2_u32, 1_u32, 2_u32)); 27 assert_eq!(v.xyxz(), uvec4(1_u32, 2_u32, 1_u32, 3_u32)); 28 assert_eq!(v.xyxw(), uvec4(1_u32, 2_u32, 1_u32, 4_u32)); 29 assert_eq!(v.xyyx(), uvec4(1_u32, 2_u32, 2_u32, 1_u32)); 30 assert_eq!(v.xyyy(), uvec4(1_u32, 2_u32, 2_u32, 2_u32)); 31 assert_eq!(v.xyyz(), uvec4(1_u32, 2_u32, 2_u32, 3_u32)); 32 assert_eq!(v.xyyw(), uvec4(1_u32, 2_u32, 2_u32, 4_u32)); 33 assert_eq!(v.xyzx(), uvec4(1_u32, 2_u32, 3_u32, 1_u32)); 34 assert_eq!(v.xyzy(), uvec4(1_u32, 2_u32, 3_u32, 2_u32)); 35 assert_eq!(v.xyzz(), uvec4(1_u32, 2_u32, 3_u32, 3_u32)); 36 assert_eq!(v.xywx(), uvec4(1_u32, 2_u32, 4_u32, 1_u32)); 37 assert_eq!(v.xywy(), uvec4(1_u32, 2_u32, 4_u32, 2_u32)); 38 assert_eq!(v.xywz(), uvec4(1_u32, 2_u32, 4_u32, 3_u32)); 39 assert_eq!(v.xyww(), uvec4(1_u32, 2_u32, 4_u32, 4_u32)); 40 assert_eq!(v.xzxx(), uvec4(1_u32, 3_u32, 1_u32, 1_u32)); 41 assert_eq!(v.xzxy(), uvec4(1_u32, 3_u32, 1_u32, 2_u32)); 42 assert_eq!(v.xzxz(), uvec4(1_u32, 3_u32, 1_u32, 3_u32)); 43 assert_eq!(v.xzxw(), uvec4(1_u32, 3_u32, 1_u32, 4_u32)); 44 assert_eq!(v.xzyx(), uvec4(1_u32, 3_u32, 2_u32, 1_u32)); 45 assert_eq!(v.xzyy(), uvec4(1_u32, 3_u32, 2_u32, 2_u32)); 46 assert_eq!(v.xzyz(), uvec4(1_u32, 3_u32, 2_u32, 3_u32)); 47 assert_eq!(v.xzyw(), uvec4(1_u32, 3_u32, 2_u32, 4_u32)); 48 assert_eq!(v.xzzx(), uvec4(1_u32, 3_u32, 3_u32, 1_u32)); 49 assert_eq!(v.xzzy(), uvec4(1_u32, 3_u32, 3_u32, 2_u32)); 50 assert_eq!(v.xzzz(), uvec4(1_u32, 3_u32, 3_u32, 3_u32)); 51 assert_eq!(v.xzzw(), uvec4(1_u32, 3_u32, 3_u32, 4_u32)); 52 assert_eq!(v.xzwx(), uvec4(1_u32, 3_u32, 4_u32, 1_u32)); 53 assert_eq!(v.xzwy(), uvec4(1_u32, 3_u32, 4_u32, 2_u32)); 54 assert_eq!(v.xzwz(), uvec4(1_u32, 3_u32, 4_u32, 3_u32)); 55 assert_eq!(v.xzww(), uvec4(1_u32, 3_u32, 4_u32, 4_u32)); 56 assert_eq!(v.xwxx(), uvec4(1_u32, 4_u32, 1_u32, 1_u32)); 57 assert_eq!(v.xwxy(), uvec4(1_u32, 4_u32, 1_u32, 2_u32)); 58 assert_eq!(v.xwxz(), uvec4(1_u32, 4_u32, 1_u32, 3_u32)); 59 assert_eq!(v.xwxw(), uvec4(1_u32, 4_u32, 1_u32, 4_u32)); 60 assert_eq!(v.xwyx(), uvec4(1_u32, 4_u32, 2_u32, 1_u32)); 61 assert_eq!(v.xwyy(), uvec4(1_u32, 4_u32, 2_u32, 2_u32)); 62 assert_eq!(v.xwyz(), uvec4(1_u32, 4_u32, 2_u32, 3_u32)); 63 assert_eq!(v.xwyw(), uvec4(1_u32, 4_u32, 2_u32, 4_u32)); 64 assert_eq!(v.xwzx(), uvec4(1_u32, 4_u32, 3_u32, 1_u32)); 65 assert_eq!(v.xwzy(), uvec4(1_u32, 4_u32, 3_u32, 2_u32)); 66 assert_eq!(v.xwzz(), uvec4(1_u32, 4_u32, 3_u32, 3_u32)); 67 assert_eq!(v.xwzw(), uvec4(1_u32, 4_u32, 3_u32, 4_u32)); 68 assert_eq!(v.xwwx(), uvec4(1_u32, 4_u32, 4_u32, 1_u32)); 69 assert_eq!(v.xwwy(), uvec4(1_u32, 4_u32, 4_u32, 2_u32)); 70 assert_eq!(v.xwwz(), uvec4(1_u32, 4_u32, 4_u32, 3_u32)); 71 assert_eq!(v.xwww(), uvec4(1_u32, 4_u32, 4_u32, 4_u32)); 72 assert_eq!(v.yxxx(), uvec4(2_u32, 1_u32, 1_u32, 1_u32)); 73 assert_eq!(v.yxxy(), uvec4(2_u32, 1_u32, 1_u32, 2_u32)); 74 assert_eq!(v.yxxz(), uvec4(2_u32, 1_u32, 1_u32, 3_u32)); 75 assert_eq!(v.yxxw(), uvec4(2_u32, 1_u32, 1_u32, 4_u32)); 76 assert_eq!(v.yxyx(), uvec4(2_u32, 1_u32, 2_u32, 1_u32)); 77 assert_eq!(v.yxyy(), uvec4(2_u32, 1_u32, 2_u32, 2_u32)); 78 assert_eq!(v.yxyz(), uvec4(2_u32, 1_u32, 2_u32, 3_u32)); 79 assert_eq!(v.yxyw(), uvec4(2_u32, 1_u32, 2_u32, 4_u32)); 80 assert_eq!(v.yxzx(), uvec4(2_u32, 1_u32, 3_u32, 1_u32)); 81 assert_eq!(v.yxzy(), uvec4(2_u32, 1_u32, 3_u32, 2_u32)); 82 assert_eq!(v.yxzz(), uvec4(2_u32, 1_u32, 3_u32, 3_u32)); 83 assert_eq!(v.yxzw(), uvec4(2_u32, 1_u32, 3_u32, 4_u32)); 84 assert_eq!(v.yxwx(), uvec4(2_u32, 1_u32, 4_u32, 1_u32)); 85 assert_eq!(v.yxwy(), uvec4(2_u32, 1_u32, 4_u32, 2_u32)); 86 assert_eq!(v.yxwz(), uvec4(2_u32, 1_u32, 4_u32, 3_u32)); 87 assert_eq!(v.yxww(), uvec4(2_u32, 1_u32, 4_u32, 4_u32)); 88 assert_eq!(v.yyxx(), uvec4(2_u32, 2_u32, 1_u32, 1_u32)); 89 assert_eq!(v.yyxy(), uvec4(2_u32, 2_u32, 1_u32, 2_u32)); 90 assert_eq!(v.yyxz(), uvec4(2_u32, 2_u32, 1_u32, 3_u32)); 91 assert_eq!(v.yyxw(), uvec4(2_u32, 2_u32, 1_u32, 4_u32)); 92 assert_eq!(v.yyyx(), uvec4(2_u32, 2_u32, 2_u32, 1_u32)); 93 assert_eq!(v.yyyy(), uvec4(2_u32, 2_u32, 2_u32, 2_u32)); 94 assert_eq!(v.yyyz(), uvec4(2_u32, 2_u32, 2_u32, 3_u32)); 95 assert_eq!(v.yyyw(), uvec4(2_u32, 2_u32, 2_u32, 4_u32)); 96 assert_eq!(v.yyzx(), uvec4(2_u32, 2_u32, 3_u32, 1_u32)); 97 assert_eq!(v.yyzy(), uvec4(2_u32, 2_u32, 3_u32, 2_u32)); 98 assert_eq!(v.yyzz(), uvec4(2_u32, 2_u32, 3_u32, 3_u32)); 99 assert_eq!(v.yyzw(), uvec4(2_u32, 2_u32, 3_u32, 4_u32)); 100 assert_eq!(v.yywx(), uvec4(2_u32, 2_u32, 4_u32, 1_u32)); 101 assert_eq!(v.yywy(), uvec4(2_u32, 2_u32, 4_u32, 2_u32)); 102 assert_eq!(v.yywz(), uvec4(2_u32, 2_u32, 4_u32, 3_u32)); 103 assert_eq!(v.yyww(), uvec4(2_u32, 2_u32, 4_u32, 4_u32)); 104 assert_eq!(v.yzxx(), uvec4(2_u32, 3_u32, 1_u32, 1_u32)); 105 assert_eq!(v.yzxy(), uvec4(2_u32, 3_u32, 1_u32, 2_u32)); 106 assert_eq!(v.yzxz(), uvec4(2_u32, 3_u32, 1_u32, 3_u32)); 107 assert_eq!(v.yzxw(), uvec4(2_u32, 3_u32, 1_u32, 4_u32)); 108 assert_eq!(v.yzyx(), uvec4(2_u32, 3_u32, 2_u32, 1_u32)); 109 assert_eq!(v.yzyy(), uvec4(2_u32, 3_u32, 2_u32, 2_u32)); 110 assert_eq!(v.yzyz(), uvec4(2_u32, 3_u32, 2_u32, 3_u32)); 111 assert_eq!(v.yzyw(), uvec4(2_u32, 3_u32, 2_u32, 4_u32)); 112 assert_eq!(v.yzzx(), uvec4(2_u32, 3_u32, 3_u32, 1_u32)); 113 assert_eq!(v.yzzy(), uvec4(2_u32, 3_u32, 3_u32, 2_u32)); 114 assert_eq!(v.yzzz(), uvec4(2_u32, 3_u32, 3_u32, 3_u32)); 115 assert_eq!(v.yzzw(), uvec4(2_u32, 3_u32, 3_u32, 4_u32)); 116 assert_eq!(v.yzwx(), uvec4(2_u32, 3_u32, 4_u32, 1_u32)); 117 assert_eq!(v.yzwy(), uvec4(2_u32, 3_u32, 4_u32, 2_u32)); 118 assert_eq!(v.yzwz(), uvec4(2_u32, 3_u32, 4_u32, 3_u32)); 119 assert_eq!(v.yzww(), uvec4(2_u32, 3_u32, 4_u32, 4_u32)); 120 assert_eq!(v.ywxx(), uvec4(2_u32, 4_u32, 1_u32, 1_u32)); 121 assert_eq!(v.ywxy(), uvec4(2_u32, 4_u32, 1_u32, 2_u32)); 122 assert_eq!(v.ywxz(), uvec4(2_u32, 4_u32, 1_u32, 3_u32)); 123 assert_eq!(v.ywxw(), uvec4(2_u32, 4_u32, 1_u32, 4_u32)); 124 assert_eq!(v.ywyx(), uvec4(2_u32, 4_u32, 2_u32, 1_u32)); 125 assert_eq!(v.ywyy(), uvec4(2_u32, 4_u32, 2_u32, 2_u32)); 126 assert_eq!(v.ywyz(), uvec4(2_u32, 4_u32, 2_u32, 3_u32)); 127 assert_eq!(v.ywyw(), uvec4(2_u32, 4_u32, 2_u32, 4_u32)); 128 assert_eq!(v.ywzx(), uvec4(2_u32, 4_u32, 3_u32, 1_u32)); 129 assert_eq!(v.ywzy(), uvec4(2_u32, 4_u32, 3_u32, 2_u32)); 130 assert_eq!(v.ywzz(), uvec4(2_u32, 4_u32, 3_u32, 3_u32)); 131 assert_eq!(v.ywzw(), uvec4(2_u32, 4_u32, 3_u32, 4_u32)); 132 assert_eq!(v.ywwx(), uvec4(2_u32, 4_u32, 4_u32, 1_u32)); 133 assert_eq!(v.ywwy(), uvec4(2_u32, 4_u32, 4_u32, 2_u32)); 134 assert_eq!(v.ywwz(), uvec4(2_u32, 4_u32, 4_u32, 3_u32)); 135 assert_eq!(v.ywww(), uvec4(2_u32, 4_u32, 4_u32, 4_u32)); 136 assert_eq!(v.zxxx(), uvec4(3_u32, 1_u32, 1_u32, 1_u32)); 137 assert_eq!(v.zxxy(), uvec4(3_u32, 1_u32, 1_u32, 2_u32)); 138 assert_eq!(v.zxxz(), uvec4(3_u32, 1_u32, 1_u32, 3_u32)); 139 assert_eq!(v.zxxw(), uvec4(3_u32, 1_u32, 1_u32, 4_u32)); 140 assert_eq!(v.zxyx(), uvec4(3_u32, 1_u32, 2_u32, 1_u32)); 141 assert_eq!(v.zxyy(), uvec4(3_u32, 1_u32, 2_u32, 2_u32)); 142 assert_eq!(v.zxyz(), uvec4(3_u32, 1_u32, 2_u32, 3_u32)); 143 assert_eq!(v.zxyw(), uvec4(3_u32, 1_u32, 2_u32, 4_u32)); 144 assert_eq!(v.zxzx(), uvec4(3_u32, 1_u32, 3_u32, 1_u32)); 145 assert_eq!(v.zxzy(), uvec4(3_u32, 1_u32, 3_u32, 2_u32)); 146 assert_eq!(v.zxzz(), uvec4(3_u32, 1_u32, 3_u32, 3_u32)); 147 assert_eq!(v.zxzw(), uvec4(3_u32, 1_u32, 3_u32, 4_u32)); 148 assert_eq!(v.zxwx(), uvec4(3_u32, 1_u32, 4_u32, 1_u32)); 149 assert_eq!(v.zxwy(), uvec4(3_u32, 1_u32, 4_u32, 2_u32)); 150 assert_eq!(v.zxwz(), uvec4(3_u32, 1_u32, 4_u32, 3_u32)); 151 assert_eq!(v.zxww(), uvec4(3_u32, 1_u32, 4_u32, 4_u32)); 152 assert_eq!(v.zyxx(), uvec4(3_u32, 2_u32, 1_u32, 1_u32)); 153 assert_eq!(v.zyxy(), uvec4(3_u32, 2_u32, 1_u32, 2_u32)); 154 assert_eq!(v.zyxz(), uvec4(3_u32, 2_u32, 1_u32, 3_u32)); 155 assert_eq!(v.zyxw(), uvec4(3_u32, 2_u32, 1_u32, 4_u32)); 156 assert_eq!(v.zyyx(), uvec4(3_u32, 2_u32, 2_u32, 1_u32)); 157 assert_eq!(v.zyyy(), uvec4(3_u32, 2_u32, 2_u32, 2_u32)); 158 assert_eq!(v.zyyz(), uvec4(3_u32, 2_u32, 2_u32, 3_u32)); 159 assert_eq!(v.zyyw(), uvec4(3_u32, 2_u32, 2_u32, 4_u32)); 160 assert_eq!(v.zyzx(), uvec4(3_u32, 2_u32, 3_u32, 1_u32)); 161 assert_eq!(v.zyzy(), uvec4(3_u32, 2_u32, 3_u32, 2_u32)); 162 assert_eq!(v.zyzz(), uvec4(3_u32, 2_u32, 3_u32, 3_u32)); 163 assert_eq!(v.zyzw(), uvec4(3_u32, 2_u32, 3_u32, 4_u32)); 164 assert_eq!(v.zywx(), uvec4(3_u32, 2_u32, 4_u32, 1_u32)); 165 assert_eq!(v.zywy(), uvec4(3_u32, 2_u32, 4_u32, 2_u32)); 166 assert_eq!(v.zywz(), uvec4(3_u32, 2_u32, 4_u32, 3_u32)); 167 assert_eq!(v.zyww(), uvec4(3_u32, 2_u32, 4_u32, 4_u32)); 168 assert_eq!(v.zzxx(), uvec4(3_u32, 3_u32, 1_u32, 1_u32)); 169 assert_eq!(v.zzxy(), uvec4(3_u32, 3_u32, 1_u32, 2_u32)); 170 assert_eq!(v.zzxz(), uvec4(3_u32, 3_u32, 1_u32, 3_u32)); 171 assert_eq!(v.zzxw(), uvec4(3_u32, 3_u32, 1_u32, 4_u32)); 172 assert_eq!(v.zzyx(), uvec4(3_u32, 3_u32, 2_u32, 1_u32)); 173 assert_eq!(v.zzyy(), uvec4(3_u32, 3_u32, 2_u32, 2_u32)); 174 assert_eq!(v.zzyz(), uvec4(3_u32, 3_u32, 2_u32, 3_u32)); 175 assert_eq!(v.zzyw(), uvec4(3_u32, 3_u32, 2_u32, 4_u32)); 176 assert_eq!(v.zzzx(), uvec4(3_u32, 3_u32, 3_u32, 1_u32)); 177 assert_eq!(v.zzzy(), uvec4(3_u32, 3_u32, 3_u32, 2_u32)); 178 assert_eq!(v.zzzz(), uvec4(3_u32, 3_u32, 3_u32, 3_u32)); 179 assert_eq!(v.zzzw(), uvec4(3_u32, 3_u32, 3_u32, 4_u32)); 180 assert_eq!(v.zzwx(), uvec4(3_u32, 3_u32, 4_u32, 1_u32)); 181 assert_eq!(v.zzwy(), uvec4(3_u32, 3_u32, 4_u32, 2_u32)); 182 assert_eq!(v.zzwz(), uvec4(3_u32, 3_u32, 4_u32, 3_u32)); 183 assert_eq!(v.zzww(), uvec4(3_u32, 3_u32, 4_u32, 4_u32)); 184 assert_eq!(v.zwxx(), uvec4(3_u32, 4_u32, 1_u32, 1_u32)); 185 assert_eq!(v.zwxy(), uvec4(3_u32, 4_u32, 1_u32, 2_u32)); 186 assert_eq!(v.zwxz(), uvec4(3_u32, 4_u32, 1_u32, 3_u32)); 187 assert_eq!(v.zwxw(), uvec4(3_u32, 4_u32, 1_u32, 4_u32)); 188 assert_eq!(v.zwyx(), uvec4(3_u32, 4_u32, 2_u32, 1_u32)); 189 assert_eq!(v.zwyy(), uvec4(3_u32, 4_u32, 2_u32, 2_u32)); 190 assert_eq!(v.zwyz(), uvec4(3_u32, 4_u32, 2_u32, 3_u32)); 191 assert_eq!(v.zwyw(), uvec4(3_u32, 4_u32, 2_u32, 4_u32)); 192 assert_eq!(v.zwzx(), uvec4(3_u32, 4_u32, 3_u32, 1_u32)); 193 assert_eq!(v.zwzy(), uvec4(3_u32, 4_u32, 3_u32, 2_u32)); 194 assert_eq!(v.zwzz(), uvec4(3_u32, 4_u32, 3_u32, 3_u32)); 195 assert_eq!(v.zwzw(), uvec4(3_u32, 4_u32, 3_u32, 4_u32)); 196 assert_eq!(v.zwwx(), uvec4(3_u32, 4_u32, 4_u32, 1_u32)); 197 assert_eq!(v.zwwy(), uvec4(3_u32, 4_u32, 4_u32, 2_u32)); 198 assert_eq!(v.zwwz(), uvec4(3_u32, 4_u32, 4_u32, 3_u32)); 199 assert_eq!(v.zwww(), uvec4(3_u32, 4_u32, 4_u32, 4_u32)); 200 assert_eq!(v.wxxx(), uvec4(4_u32, 1_u32, 1_u32, 1_u32)); 201 assert_eq!(v.wxxy(), uvec4(4_u32, 1_u32, 1_u32, 2_u32)); 202 assert_eq!(v.wxxz(), uvec4(4_u32, 1_u32, 1_u32, 3_u32)); 203 assert_eq!(v.wxxw(), uvec4(4_u32, 1_u32, 1_u32, 4_u32)); 204 assert_eq!(v.wxyx(), uvec4(4_u32, 1_u32, 2_u32, 1_u32)); 205 assert_eq!(v.wxyy(), uvec4(4_u32, 1_u32, 2_u32, 2_u32)); 206 assert_eq!(v.wxyz(), uvec4(4_u32, 1_u32, 2_u32, 3_u32)); 207 assert_eq!(v.wxyw(), uvec4(4_u32, 1_u32, 2_u32, 4_u32)); 208 assert_eq!(v.wxzx(), uvec4(4_u32, 1_u32, 3_u32, 1_u32)); 209 assert_eq!(v.wxzy(), uvec4(4_u32, 1_u32, 3_u32, 2_u32)); 210 assert_eq!(v.wxzz(), uvec4(4_u32, 1_u32, 3_u32, 3_u32)); 211 assert_eq!(v.wxzw(), uvec4(4_u32, 1_u32, 3_u32, 4_u32)); 212 assert_eq!(v.wxwx(), uvec4(4_u32, 1_u32, 4_u32, 1_u32)); 213 assert_eq!(v.wxwy(), uvec4(4_u32, 1_u32, 4_u32, 2_u32)); 214 assert_eq!(v.wxwz(), uvec4(4_u32, 1_u32, 4_u32, 3_u32)); 215 assert_eq!(v.wxww(), uvec4(4_u32, 1_u32, 4_u32, 4_u32)); 216 assert_eq!(v.wyxx(), uvec4(4_u32, 2_u32, 1_u32, 1_u32)); 217 assert_eq!(v.wyxy(), uvec4(4_u32, 2_u32, 1_u32, 2_u32)); 218 assert_eq!(v.wyxz(), uvec4(4_u32, 2_u32, 1_u32, 3_u32)); 219 assert_eq!(v.wyxw(), uvec4(4_u32, 2_u32, 1_u32, 4_u32)); 220 assert_eq!(v.wyyx(), uvec4(4_u32, 2_u32, 2_u32, 1_u32)); 221 assert_eq!(v.wyyy(), uvec4(4_u32, 2_u32, 2_u32, 2_u32)); 222 assert_eq!(v.wyyz(), uvec4(4_u32, 2_u32, 2_u32, 3_u32)); 223 assert_eq!(v.wyyw(), uvec4(4_u32, 2_u32, 2_u32, 4_u32)); 224 assert_eq!(v.wyzx(), uvec4(4_u32, 2_u32, 3_u32, 1_u32)); 225 assert_eq!(v.wyzy(), uvec4(4_u32, 2_u32, 3_u32, 2_u32)); 226 assert_eq!(v.wyzz(), uvec4(4_u32, 2_u32, 3_u32, 3_u32)); 227 assert_eq!(v.wyzw(), uvec4(4_u32, 2_u32, 3_u32, 4_u32)); 228 assert_eq!(v.wywx(), uvec4(4_u32, 2_u32, 4_u32, 1_u32)); 229 assert_eq!(v.wywy(), uvec4(4_u32, 2_u32, 4_u32, 2_u32)); 230 assert_eq!(v.wywz(), uvec4(4_u32, 2_u32, 4_u32, 3_u32)); 231 assert_eq!(v.wyww(), uvec4(4_u32, 2_u32, 4_u32, 4_u32)); 232 assert_eq!(v.wzxx(), uvec4(4_u32, 3_u32, 1_u32, 1_u32)); 233 assert_eq!(v.wzxy(), uvec4(4_u32, 3_u32, 1_u32, 2_u32)); 234 assert_eq!(v.wzxz(), uvec4(4_u32, 3_u32, 1_u32, 3_u32)); 235 assert_eq!(v.wzxw(), uvec4(4_u32, 3_u32, 1_u32, 4_u32)); 236 assert_eq!(v.wzyx(), uvec4(4_u32, 3_u32, 2_u32, 1_u32)); 237 assert_eq!(v.wzyy(), uvec4(4_u32, 3_u32, 2_u32, 2_u32)); 238 assert_eq!(v.wzyz(), uvec4(4_u32, 3_u32, 2_u32, 3_u32)); 239 assert_eq!(v.wzyw(), uvec4(4_u32, 3_u32, 2_u32, 4_u32)); 240 assert_eq!(v.wzzx(), uvec4(4_u32, 3_u32, 3_u32, 1_u32)); 241 assert_eq!(v.wzzy(), uvec4(4_u32, 3_u32, 3_u32, 2_u32)); 242 assert_eq!(v.wzzz(), uvec4(4_u32, 3_u32, 3_u32, 3_u32)); 243 assert_eq!(v.wzzw(), uvec4(4_u32, 3_u32, 3_u32, 4_u32)); 244 assert_eq!(v.wzwx(), uvec4(4_u32, 3_u32, 4_u32, 1_u32)); 245 assert_eq!(v.wzwy(), uvec4(4_u32, 3_u32, 4_u32, 2_u32)); 246 assert_eq!(v.wzwz(), uvec4(4_u32, 3_u32, 4_u32, 3_u32)); 247 assert_eq!(v.wzww(), uvec4(4_u32, 3_u32, 4_u32, 4_u32)); 248 assert_eq!(v.wwxx(), uvec4(4_u32, 4_u32, 1_u32, 1_u32)); 249 assert_eq!(v.wwxy(), uvec4(4_u32, 4_u32, 1_u32, 2_u32)); 250 assert_eq!(v.wwxz(), uvec4(4_u32, 4_u32, 1_u32, 3_u32)); 251 assert_eq!(v.wwxw(), uvec4(4_u32, 4_u32, 1_u32, 4_u32)); 252 assert_eq!(v.wwyx(), uvec4(4_u32, 4_u32, 2_u32, 1_u32)); 253 assert_eq!(v.wwyy(), uvec4(4_u32, 4_u32, 2_u32, 2_u32)); 254 assert_eq!(v.wwyz(), uvec4(4_u32, 4_u32, 2_u32, 3_u32)); 255 assert_eq!(v.wwyw(), uvec4(4_u32, 4_u32, 2_u32, 4_u32)); 256 assert_eq!(v.wwzx(), uvec4(4_u32, 4_u32, 3_u32, 1_u32)); 257 assert_eq!(v.wwzy(), uvec4(4_u32, 4_u32, 3_u32, 2_u32)); 258 assert_eq!(v.wwzz(), uvec4(4_u32, 4_u32, 3_u32, 3_u32)); 259 assert_eq!(v.wwzw(), uvec4(4_u32, 4_u32, 3_u32, 4_u32)); 260 assert_eq!(v.wwwx(), uvec4(4_u32, 4_u32, 4_u32, 1_u32)); 261 assert_eq!(v.wwwy(), uvec4(4_u32, 4_u32, 4_u32, 2_u32)); 262 assert_eq!(v.wwwz(), uvec4(4_u32, 4_u32, 4_u32, 3_u32)); 263 assert_eq!(v.wwww(), uvec4(4_u32, 4_u32, 4_u32, 4_u32)); 264 assert_eq!(v.xxx(), uvec3(1_u32, 1_u32, 1_u32)); 265 assert_eq!(v.xxy(), uvec3(1_u32, 1_u32, 2_u32)); 266 assert_eq!(v.xxz(), uvec3(1_u32, 1_u32, 3_u32)); 267 assert_eq!(v.xxw(), uvec3(1_u32, 1_u32, 4_u32)); 268 assert_eq!(v.xyx(), uvec3(1_u32, 2_u32, 1_u32)); 269 assert_eq!(v.xyy(), uvec3(1_u32, 2_u32, 2_u32)); 270 assert_eq!(v.xyz(), uvec3(1_u32, 2_u32, 3_u32)); 271 assert_eq!(v.xyw(), uvec3(1_u32, 2_u32, 4_u32)); 272 assert_eq!(v.xzx(), uvec3(1_u32, 3_u32, 1_u32)); 273 assert_eq!(v.xzy(), uvec3(1_u32, 3_u32, 2_u32)); 274 assert_eq!(v.xzz(), uvec3(1_u32, 3_u32, 3_u32)); 275 assert_eq!(v.xzw(), uvec3(1_u32, 3_u32, 4_u32)); 276 assert_eq!(v.xwx(), uvec3(1_u32, 4_u32, 1_u32)); 277 assert_eq!(v.xwy(), uvec3(1_u32, 4_u32, 2_u32)); 278 assert_eq!(v.xwz(), uvec3(1_u32, 4_u32, 3_u32)); 279 assert_eq!(v.xww(), uvec3(1_u32, 4_u32, 4_u32)); 280 assert_eq!(v.yxx(), uvec3(2_u32, 1_u32, 1_u32)); 281 assert_eq!(v.yxy(), uvec3(2_u32, 1_u32, 2_u32)); 282 assert_eq!(v.yxz(), uvec3(2_u32, 1_u32, 3_u32)); 283 assert_eq!(v.yxw(), uvec3(2_u32, 1_u32, 4_u32)); 284 assert_eq!(v.yyx(), uvec3(2_u32, 2_u32, 1_u32)); 285 assert_eq!(v.yyy(), uvec3(2_u32, 2_u32, 2_u32)); 286 assert_eq!(v.yyz(), uvec3(2_u32, 2_u32, 3_u32)); 287 assert_eq!(v.yyw(), uvec3(2_u32, 2_u32, 4_u32)); 288 assert_eq!(v.yzx(), uvec3(2_u32, 3_u32, 1_u32)); 289 assert_eq!(v.yzy(), uvec3(2_u32, 3_u32, 2_u32)); 290 assert_eq!(v.yzz(), uvec3(2_u32, 3_u32, 3_u32)); 291 assert_eq!(v.yzw(), uvec3(2_u32, 3_u32, 4_u32)); 292 assert_eq!(v.ywx(), uvec3(2_u32, 4_u32, 1_u32)); 293 assert_eq!(v.ywy(), uvec3(2_u32, 4_u32, 2_u32)); 294 assert_eq!(v.ywz(), uvec3(2_u32, 4_u32, 3_u32)); 295 assert_eq!(v.yww(), uvec3(2_u32, 4_u32, 4_u32)); 296 assert_eq!(v.zxx(), uvec3(3_u32, 1_u32, 1_u32)); 297 assert_eq!(v.zxy(), uvec3(3_u32, 1_u32, 2_u32)); 298 assert_eq!(v.zxz(), uvec3(3_u32, 1_u32, 3_u32)); 299 assert_eq!(v.zxw(), uvec3(3_u32, 1_u32, 4_u32)); 300 assert_eq!(v.zyx(), uvec3(3_u32, 2_u32, 1_u32)); 301 assert_eq!(v.zyy(), uvec3(3_u32, 2_u32, 2_u32)); 302 assert_eq!(v.zyz(), uvec3(3_u32, 2_u32, 3_u32)); 303 assert_eq!(v.zyw(), uvec3(3_u32, 2_u32, 4_u32)); 304 assert_eq!(v.zzx(), uvec3(3_u32, 3_u32, 1_u32)); 305 assert_eq!(v.zzy(), uvec3(3_u32, 3_u32, 2_u32)); 306 assert_eq!(v.zzz(), uvec3(3_u32, 3_u32, 3_u32)); 307 assert_eq!(v.zzw(), uvec3(3_u32, 3_u32, 4_u32)); 308 assert_eq!(v.zwx(), uvec3(3_u32, 4_u32, 1_u32)); 309 assert_eq!(v.zwy(), uvec3(3_u32, 4_u32, 2_u32)); 310 assert_eq!(v.zwz(), uvec3(3_u32, 4_u32, 3_u32)); 311 assert_eq!(v.zww(), uvec3(3_u32, 4_u32, 4_u32)); 312 assert_eq!(v.wxx(), uvec3(4_u32, 1_u32, 1_u32)); 313 assert_eq!(v.wxy(), uvec3(4_u32, 1_u32, 2_u32)); 314 assert_eq!(v.wxz(), uvec3(4_u32, 1_u32, 3_u32)); 315 assert_eq!(v.wxw(), uvec3(4_u32, 1_u32, 4_u32)); 316 assert_eq!(v.wyx(), uvec3(4_u32, 2_u32, 1_u32)); 317 assert_eq!(v.wyy(), uvec3(4_u32, 2_u32, 2_u32)); 318 assert_eq!(v.wyz(), uvec3(4_u32, 2_u32, 3_u32)); 319 assert_eq!(v.wyw(), uvec3(4_u32, 2_u32, 4_u32)); 320 assert_eq!(v.wzx(), uvec3(4_u32, 3_u32, 1_u32)); 321 assert_eq!(v.wzy(), uvec3(4_u32, 3_u32, 2_u32)); 322 assert_eq!(v.wzz(), uvec3(4_u32, 3_u32, 3_u32)); 323 assert_eq!(v.wzw(), uvec3(4_u32, 3_u32, 4_u32)); 324 assert_eq!(v.wwx(), uvec3(4_u32, 4_u32, 1_u32)); 325 assert_eq!(v.wwy(), uvec3(4_u32, 4_u32, 2_u32)); 326 assert_eq!(v.wwz(), uvec3(4_u32, 4_u32, 3_u32)); 327 assert_eq!(v.www(), uvec3(4_u32, 4_u32, 4_u32)); 328 assert_eq!(v.xx(), uvec2(1_u32, 1_u32)); 329 assert_eq!(v.xy(), uvec2(1_u32, 2_u32)); 330 assert_eq!(v.xz(), uvec2(1_u32, 3_u32)); 331 assert_eq!(v.xw(), uvec2(1_u32, 4_u32)); 332 assert_eq!(v.yx(), uvec2(2_u32, 1_u32)); 333 assert_eq!(v.yy(), uvec2(2_u32, 2_u32)); 334 assert_eq!(v.yz(), uvec2(2_u32, 3_u32)); 335 assert_eq!(v.yw(), uvec2(2_u32, 4_u32)); 336 assert_eq!(v.zx(), uvec2(3_u32, 1_u32)); 337 assert_eq!(v.zy(), uvec2(3_u32, 2_u32)); 338 assert_eq!(v.zz(), uvec2(3_u32, 3_u32)); 339 assert_eq!(v.zw(), uvec2(3_u32, 4_u32)); 340 assert_eq!(v.wx(), uvec2(4_u32, 1_u32)); 341 assert_eq!(v.wy(), uvec2(4_u32, 2_u32)); 342 assert_eq!(v.wz(), uvec2(4_u32, 3_u32)); 343 assert_eq!(v.ww(), uvec2(4_u32, 4_u32)); 344 }); 345 346 glam_test!(test_uvec3_swizzles, { 347 let v = uvec3(1_u32, 2_u32, 3_u32); 348 assert_eq!(v, v.xyz()); 349 assert_eq!(v.xxxx(), uvec4(1_u32, 1_u32, 1_u32, 1_u32)); 350 assert_eq!(v.xxxy(), uvec4(1_u32, 1_u32, 1_u32, 2_u32)); 351 assert_eq!(v.xxxz(), uvec4(1_u32, 1_u32, 1_u32, 3_u32)); 352 assert_eq!(v.xxyx(), uvec4(1_u32, 1_u32, 2_u32, 1_u32)); 353 assert_eq!(v.xxyy(), uvec4(1_u32, 1_u32, 2_u32, 2_u32)); 354 assert_eq!(v.xxyz(), uvec4(1_u32, 1_u32, 2_u32, 3_u32)); 355 assert_eq!(v.xxzx(), uvec4(1_u32, 1_u32, 3_u32, 1_u32)); 356 assert_eq!(v.xxzy(), uvec4(1_u32, 1_u32, 3_u32, 2_u32)); 357 assert_eq!(v.xxzz(), uvec4(1_u32, 1_u32, 3_u32, 3_u32)); 358 assert_eq!(v.xyxx(), uvec4(1_u32, 2_u32, 1_u32, 1_u32)); 359 assert_eq!(v.xyxy(), uvec4(1_u32, 2_u32, 1_u32, 2_u32)); 360 assert_eq!(v.xyxz(), uvec4(1_u32, 2_u32, 1_u32, 3_u32)); 361 assert_eq!(v.xyyx(), uvec4(1_u32, 2_u32, 2_u32, 1_u32)); 362 assert_eq!(v.xyyy(), uvec4(1_u32, 2_u32, 2_u32, 2_u32)); 363 assert_eq!(v.xyyz(), uvec4(1_u32, 2_u32, 2_u32, 3_u32)); 364 assert_eq!(v.xyzx(), uvec4(1_u32, 2_u32, 3_u32, 1_u32)); 365 assert_eq!(v.xyzy(), uvec4(1_u32, 2_u32, 3_u32, 2_u32)); 366 assert_eq!(v.xyzz(), uvec4(1_u32, 2_u32, 3_u32, 3_u32)); 367 assert_eq!(v.xzxx(), uvec4(1_u32, 3_u32, 1_u32, 1_u32)); 368 assert_eq!(v.xzxy(), uvec4(1_u32, 3_u32, 1_u32, 2_u32)); 369 assert_eq!(v.xzxz(), uvec4(1_u32, 3_u32, 1_u32, 3_u32)); 370 assert_eq!(v.xzyx(), uvec4(1_u32, 3_u32, 2_u32, 1_u32)); 371 assert_eq!(v.xzyy(), uvec4(1_u32, 3_u32, 2_u32, 2_u32)); 372 assert_eq!(v.xzyz(), uvec4(1_u32, 3_u32, 2_u32, 3_u32)); 373 assert_eq!(v.xzzx(), uvec4(1_u32, 3_u32, 3_u32, 1_u32)); 374 assert_eq!(v.xzzy(), uvec4(1_u32, 3_u32, 3_u32, 2_u32)); 375 assert_eq!(v.xzzz(), uvec4(1_u32, 3_u32, 3_u32, 3_u32)); 376 assert_eq!(v.yxxx(), uvec4(2_u32, 1_u32, 1_u32, 1_u32)); 377 assert_eq!(v.yxxy(), uvec4(2_u32, 1_u32, 1_u32, 2_u32)); 378 assert_eq!(v.yxxz(), uvec4(2_u32, 1_u32, 1_u32, 3_u32)); 379 assert_eq!(v.yxyx(), uvec4(2_u32, 1_u32, 2_u32, 1_u32)); 380 assert_eq!(v.yxyy(), uvec4(2_u32, 1_u32, 2_u32, 2_u32)); 381 assert_eq!(v.yxyz(), uvec4(2_u32, 1_u32, 2_u32, 3_u32)); 382 assert_eq!(v.yxzx(), uvec4(2_u32, 1_u32, 3_u32, 1_u32)); 383 assert_eq!(v.yxzy(), uvec4(2_u32, 1_u32, 3_u32, 2_u32)); 384 assert_eq!(v.yxzz(), uvec4(2_u32, 1_u32, 3_u32, 3_u32)); 385 assert_eq!(v.yyxx(), uvec4(2_u32, 2_u32, 1_u32, 1_u32)); 386 assert_eq!(v.yyxy(), uvec4(2_u32, 2_u32, 1_u32, 2_u32)); 387 assert_eq!(v.yyxz(), uvec4(2_u32, 2_u32, 1_u32, 3_u32)); 388 assert_eq!(v.yyyx(), uvec4(2_u32, 2_u32, 2_u32, 1_u32)); 389 assert_eq!(v.yyyy(), uvec4(2_u32, 2_u32, 2_u32, 2_u32)); 390 assert_eq!(v.yyyz(), uvec4(2_u32, 2_u32, 2_u32, 3_u32)); 391 assert_eq!(v.yyzx(), uvec4(2_u32, 2_u32, 3_u32, 1_u32)); 392 assert_eq!(v.yyzy(), uvec4(2_u32, 2_u32, 3_u32, 2_u32)); 393 assert_eq!(v.yyzz(), uvec4(2_u32, 2_u32, 3_u32, 3_u32)); 394 assert_eq!(v.yzxx(), uvec4(2_u32, 3_u32, 1_u32, 1_u32)); 395 assert_eq!(v.yzxy(), uvec4(2_u32, 3_u32, 1_u32, 2_u32)); 396 assert_eq!(v.yzxz(), uvec4(2_u32, 3_u32, 1_u32, 3_u32)); 397 assert_eq!(v.yzyx(), uvec4(2_u32, 3_u32, 2_u32, 1_u32)); 398 assert_eq!(v.yzyy(), uvec4(2_u32, 3_u32, 2_u32, 2_u32)); 399 assert_eq!(v.yzyz(), uvec4(2_u32, 3_u32, 2_u32, 3_u32)); 400 assert_eq!(v.yzzx(), uvec4(2_u32, 3_u32, 3_u32, 1_u32)); 401 assert_eq!(v.yzzy(), uvec4(2_u32, 3_u32, 3_u32, 2_u32)); 402 assert_eq!(v.yzzz(), uvec4(2_u32, 3_u32, 3_u32, 3_u32)); 403 assert_eq!(v.zxxx(), uvec4(3_u32, 1_u32, 1_u32, 1_u32)); 404 assert_eq!(v.zxxy(), uvec4(3_u32, 1_u32, 1_u32, 2_u32)); 405 assert_eq!(v.zxxz(), uvec4(3_u32, 1_u32, 1_u32, 3_u32)); 406 assert_eq!(v.zxyx(), uvec4(3_u32, 1_u32, 2_u32, 1_u32)); 407 assert_eq!(v.zxyy(), uvec4(3_u32, 1_u32, 2_u32, 2_u32)); 408 assert_eq!(v.zxyz(), uvec4(3_u32, 1_u32, 2_u32, 3_u32)); 409 assert_eq!(v.zxzx(), uvec4(3_u32, 1_u32, 3_u32, 1_u32)); 410 assert_eq!(v.zxzy(), uvec4(3_u32, 1_u32, 3_u32, 2_u32)); 411 assert_eq!(v.zxzz(), uvec4(3_u32, 1_u32, 3_u32, 3_u32)); 412 assert_eq!(v.zyxx(), uvec4(3_u32, 2_u32, 1_u32, 1_u32)); 413 assert_eq!(v.zyxy(), uvec4(3_u32, 2_u32, 1_u32, 2_u32)); 414 assert_eq!(v.zyxz(), uvec4(3_u32, 2_u32, 1_u32, 3_u32)); 415 assert_eq!(v.zyyx(), uvec4(3_u32, 2_u32, 2_u32, 1_u32)); 416 assert_eq!(v.zyyy(), uvec4(3_u32, 2_u32, 2_u32, 2_u32)); 417 assert_eq!(v.zyyz(), uvec4(3_u32, 2_u32, 2_u32, 3_u32)); 418 assert_eq!(v.zyzx(), uvec4(3_u32, 2_u32, 3_u32, 1_u32)); 419 assert_eq!(v.zyzy(), uvec4(3_u32, 2_u32, 3_u32, 2_u32)); 420 assert_eq!(v.zyzz(), uvec4(3_u32, 2_u32, 3_u32, 3_u32)); 421 assert_eq!(v.zzxx(), uvec4(3_u32, 3_u32, 1_u32, 1_u32)); 422 assert_eq!(v.zzxy(), uvec4(3_u32, 3_u32, 1_u32, 2_u32)); 423 assert_eq!(v.zzxz(), uvec4(3_u32, 3_u32, 1_u32, 3_u32)); 424 assert_eq!(v.zzyx(), uvec4(3_u32, 3_u32, 2_u32, 1_u32)); 425 assert_eq!(v.zzyy(), uvec4(3_u32, 3_u32, 2_u32, 2_u32)); 426 assert_eq!(v.zzyz(), uvec4(3_u32, 3_u32, 2_u32, 3_u32)); 427 assert_eq!(v.zzzx(), uvec4(3_u32, 3_u32, 3_u32, 1_u32)); 428 assert_eq!(v.zzzy(), uvec4(3_u32, 3_u32, 3_u32, 2_u32)); 429 assert_eq!(v.zzzz(), uvec4(3_u32, 3_u32, 3_u32, 3_u32)); 430 assert_eq!(v.xxx(), uvec3(1_u32, 1_u32, 1_u32)); 431 assert_eq!(v.xxy(), uvec3(1_u32, 1_u32, 2_u32)); 432 assert_eq!(v.xxz(), uvec3(1_u32, 1_u32, 3_u32)); 433 assert_eq!(v.xyx(), uvec3(1_u32, 2_u32, 1_u32)); 434 assert_eq!(v.xyy(), uvec3(1_u32, 2_u32, 2_u32)); 435 assert_eq!(v.xzx(), uvec3(1_u32, 3_u32, 1_u32)); 436 assert_eq!(v.xzy(), uvec3(1_u32, 3_u32, 2_u32)); 437 assert_eq!(v.xzz(), uvec3(1_u32, 3_u32, 3_u32)); 438 assert_eq!(v.yxx(), uvec3(2_u32, 1_u32, 1_u32)); 439 assert_eq!(v.yxy(), uvec3(2_u32, 1_u32, 2_u32)); 440 assert_eq!(v.yxz(), uvec3(2_u32, 1_u32, 3_u32)); 441 assert_eq!(v.yyx(), uvec3(2_u32, 2_u32, 1_u32)); 442 assert_eq!(v.yyy(), uvec3(2_u32, 2_u32, 2_u32)); 443 assert_eq!(v.yyz(), uvec3(2_u32, 2_u32, 3_u32)); 444 assert_eq!(v.yzx(), uvec3(2_u32, 3_u32, 1_u32)); 445 assert_eq!(v.yzy(), uvec3(2_u32, 3_u32, 2_u32)); 446 assert_eq!(v.yzz(), uvec3(2_u32, 3_u32, 3_u32)); 447 assert_eq!(v.zxx(), uvec3(3_u32, 1_u32, 1_u32)); 448 assert_eq!(v.zxy(), uvec3(3_u32, 1_u32, 2_u32)); 449 assert_eq!(v.zxz(), uvec3(3_u32, 1_u32, 3_u32)); 450 assert_eq!(v.zyx(), uvec3(3_u32, 2_u32, 1_u32)); 451 assert_eq!(v.zyy(), uvec3(3_u32, 2_u32, 2_u32)); 452 assert_eq!(v.zyz(), uvec3(3_u32, 2_u32, 3_u32)); 453 assert_eq!(v.zzx(), uvec3(3_u32, 3_u32, 1_u32)); 454 assert_eq!(v.zzy(), uvec3(3_u32, 3_u32, 2_u32)); 455 assert_eq!(v.zzz(), uvec3(3_u32, 3_u32, 3_u32)); 456 assert_eq!(v.xx(), uvec2(1_u32, 1_u32)); 457 assert_eq!(v.xy(), uvec2(1_u32, 2_u32)); 458 assert_eq!(v.xz(), uvec2(1_u32, 3_u32)); 459 assert_eq!(v.yx(), uvec2(2_u32, 1_u32)); 460 assert_eq!(v.yy(), uvec2(2_u32, 2_u32)); 461 assert_eq!(v.yz(), uvec2(2_u32, 3_u32)); 462 assert_eq!(v.zx(), uvec2(3_u32, 1_u32)); 463 assert_eq!(v.zy(), uvec2(3_u32, 2_u32)); 464 assert_eq!(v.zz(), uvec2(3_u32, 3_u32)); 465 }); 466 467 glam_test!(test_uvec2_swizzles, { 468 let v = uvec2(1_u32, 2_u32); 469 assert_eq!(v, v.xy()); 470 assert_eq!(v.xxxx(), uvec4(1_u32, 1_u32, 1_u32, 1_u32)); 471 assert_eq!(v.xxxy(), uvec4(1_u32, 1_u32, 1_u32, 2_u32)); 472 assert_eq!(v.xxyx(), uvec4(1_u32, 1_u32, 2_u32, 1_u32)); 473 assert_eq!(v.xxyy(), uvec4(1_u32, 1_u32, 2_u32, 2_u32)); 474 assert_eq!(v.xyxx(), uvec4(1_u32, 2_u32, 1_u32, 1_u32)); 475 assert_eq!(v.xyxy(), uvec4(1_u32, 2_u32, 1_u32, 2_u32)); 476 assert_eq!(v.xyyx(), uvec4(1_u32, 2_u32, 2_u32, 1_u32)); 477 assert_eq!(v.xyyy(), uvec4(1_u32, 2_u32, 2_u32, 2_u32)); 478 assert_eq!(v.yxxx(), uvec4(2_u32, 1_u32, 1_u32, 1_u32)); 479 assert_eq!(v.yxxy(), uvec4(2_u32, 1_u32, 1_u32, 2_u32)); 480 assert_eq!(v.yxyx(), uvec4(2_u32, 1_u32, 2_u32, 1_u32)); 481 assert_eq!(v.yxyy(), uvec4(2_u32, 1_u32, 2_u32, 2_u32)); 482 assert_eq!(v.yyxx(), uvec4(2_u32, 2_u32, 1_u32, 1_u32)); 483 assert_eq!(v.yyxy(), uvec4(2_u32, 2_u32, 1_u32, 2_u32)); 484 assert_eq!(v.yyyx(), uvec4(2_u32, 2_u32, 2_u32, 1_u32)); 485 assert_eq!(v.yyyy(), uvec4(2_u32, 2_u32, 2_u32, 2_u32)); 486 assert_eq!(v.xxx(), uvec3(1_u32, 1_u32, 1_u32)); 487 assert_eq!(v.xxy(), uvec3(1_u32, 1_u32, 2_u32)); 488 assert_eq!(v.xyx(), uvec3(1_u32, 2_u32, 1_u32)); 489 assert_eq!(v.xyy(), uvec3(1_u32, 2_u32, 2_u32)); 490 assert_eq!(v.yxx(), uvec3(2_u32, 1_u32, 1_u32)); 491 assert_eq!(v.yxy(), uvec3(2_u32, 1_u32, 2_u32)); 492 assert_eq!(v.yyx(), uvec3(2_u32, 2_u32, 1_u32)); 493 assert_eq!(v.yyy(), uvec3(2_u32, 2_u32, 2_u32)); 494 assert_eq!(v.xx(), uvec2(1_u32, 1_u32)); 495 assert_eq!(v.yx(), uvec2(2_u32, 1_u32)); 496 assert_eq!(v.yy(), uvec2(2_u32, 2_u32)); 497 }); 498