Lines Matching defs:swizzle
52 /* 16-bit swizzle ordering deliberate for fast compute */
73 /* Given a packed i16vec2/i8vec4 constant, apply a swizzle. Useful for constant
104 unreachable("Invalid swizzle");
129 /* For a source, the swizzle. For a destination, acts a bit like a
132 enum bi_swizzle swizzle : 4;
146 .swizzle = BI_SWIZZLE_H01,
160 .swizzle = BI_SWIZZLE_H01,
170 .swizzle = BI_SWIZZLE_H01,
198 .swizzle = BI_SWIZZLE_H01,
207 assert(idx.swizzle == BI_SWIZZLE_H01);
208 idx.swizzle = (enum bi_swizzle)(BI_SWIZZLE_H00 | (x << 1) | y);
221 assert(idx.swizzle == BI_SWIZZLE_H01);
223 idx.swizzle = (enum bi_swizzle)(BI_SWIZZLE_B0000 + lane);
262 replacement.swizzle = old.swizzle;
277 index.swizzle = BI_SWIZZLE_H01;
352 return (bi_apply_swizzle(left.value, left.swizzle) ==
353 bi_apply_swizzle(right.value, right.swizzle)) &&
360 (left.swizzle == right.swizzle) &&
854 .swizzle = BI_SWIZZLE_H01,