Home
last modified time | relevance | path

Searched refs:dst_comp (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/program/
Dprog_optimize.c649 GLuint dst_comp, arg; in _mesa_merge_mov_into_inst() local
650 for (dst_comp = 0; dst_comp < 4; ++dst_comp) { in _mesa_merge_mov_into_inst()
651 if (mov->DstReg.WriteMask & (1 << dst_comp)) { in _mesa_merge_mov_into_inst()
652 const GLuint src_comp = GET_SWZ(mov->SrcReg[0].Swizzle, dst_comp); in _mesa_merge_mov_into_inst()
654 dst_to_src_comp[dst_comp] = src_comp; in _mesa_merge_mov_into_inst()
664 for (dst_comp = 0; dst_comp < 4; ++dst_comp) { in _mesa_merge_mov_into_inst()
666 if ((mov->DstReg.WriteMask & (1 << dst_comp)) == 0) in _mesa_merge_mov_into_inst()
668 src_comp = dst_to_src_comp[dst_comp]; in _mesa_merge_mov_into_inst()
672 inst->SrcReg[arg].Swizzle |= arg_comp << (3*dst_comp); in _mesa_merge_mov_into_inst()