Lines Matching refs:WriteMask
88 channel_mask = inst->DstReg.WriteMask & dst_mask; in get_src_arg_mask()
134 const GLuint mask = mov->DstReg.WriteMask; in get_dst_mask_for_mov()
331 inst->DstReg.WriteMask & (1 << chan)) { in _mesa_remove_dead_code_global()
336 inst->DstReg.WriteMask &= ~(1 << chan); in _mesa_remove_dead_code_global()
341 if (inst->DstReg.WriteMask == 0) { in _mesa_remove_dead_code_global()
421 mask &= ~inst->DstReg.WriteMask; in find_next_use()
523 dst_mask = mov->DstReg.WriteMask; in _mesa_remove_extra_move_use()
573 dst_mask &= ~inst2->DstReg.WriteMask; in _mesa_remove_extra_move_use()
581 src_mask &= ~inst2->DstReg.WriteMask; in _mesa_remove_extra_move_use()
613 const GLuint mask = inst->DstReg.WriteMask; in _mesa_remove_dead_code_local()
657 if (mask != (inst->DstReg.WriteMask & mask)) in _mesa_merge_mov_into_inst()
681 if (mov->DstReg.WriteMask & (1 << dst_comp)) { in _mesa_merge_mov_into_inst()
696 if ((mov->DstReg.WriteMask & (1 << dst_comp)) == 0) in _mesa_merge_mov_into_inst()
726 inst->DstReg.WriteMask != WRITEMASK_XYZW) in _mesa_merge_mov_into_inst()
797 const GLuint dst_mask = prevInst->DstReg.WriteMask; in _mesa_remove_extra_moves()
1304 outputWrites[inst->DstReg.Index] |= inst->DstReg.WriteMask; in _mesa_simplify_cmp()
1308 tempWrites[inst->DstReg.Index] |= inst->DstReg.WriteMask; in _mesa_simplify_cmp()
1317 && !(inst->DstReg.WriteMask & prevWriteMask) in _mesa_simplify_cmp()
1320 && inst->DstReg.WriteMask == get_src_arg_mask(inst, 2, NO_MASK)) { in _mesa_simplify_cmp()