Lines Matching refs:Swizzle
107 const GLuint coord = GET_SWZ(inst->SrcReg[arg].Swizzle, comp); in get_src_arg_mask()
133 src_comp = GET_SWZ(mov->SrcReg[0].Swizzle, comp); in get_dst_mask_for_mov()
277 const GLuint swz = GET_SWZ(inst->SrcReg[j].Swizzle, comp); in _mesa_remove_dead_code_global()
521 if (is_swizzle_regular(inst2->SrcReg[arg].Swizzle) && in _mesa_remove_extra_move_use()
525 GET_SWZ(inst2->SrcReg[arg].Swizzle, comp); in _mesa_remove_extra_move_use()
526 const GLuint s = GET_SWZ(mov->SrcReg[0].Swizzle, inst2_swz); in _mesa_remove_extra_move_use()
527 inst2->SrcReg[arg].Swizzle &= ~(7 << (3 * comp)); in _mesa_remove_extra_move_use()
528 inst2->SrcReg[arg].Swizzle |= s << (3 * comp); in _mesa_remove_extra_move_use()
652 const GLuint src_comp = GET_SWZ(mov->SrcReg[0].Swizzle, dst_comp); in _mesa_merge_mov_into_inst()
660 const GLuint arg_swz = inst->SrcReg[arg].Swizzle; in _mesa_merge_mov_into_inst()
661 inst->SrcReg[arg].Swizzle = 0; in _mesa_merge_mov_into_inst()
672 inst->SrcReg[arg].Swizzle |= arg_comp << (3*dst_comp); in _mesa_merge_mov_into_inst()
695 if (mov->SrcReg[0].Swizzle != SWIZZLE_XYZW || in _mesa_merge_mov_into_inst()
1299 inst->SrcReg[1].Swizzle = SWIZZLE_NOOP; in _mesa_simplify_cmp()
1301 inst->SrcReg[2].Swizzle = SWIZZLE_NOOP; in _mesa_simplify_cmp()