Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Acked-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5690>
return SRC_CONST(i - 1, swiz);
}
-struct ssa_reg {
- uint8_t idx;
- uint8_t src_swizzle;
- uint8_t dst_swizzle;
- uint8_t write_mask;
-};
-
/* Swizzles and write masks can be used to layer virtual non-interfering
* registers on top of the real VEC4 registers. For example, the virtual
* VEC3_XYZ register and the virtual SCALAR_W register that use the same