Home
last modified time | relevance | path

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

/third_party/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()
/third_party/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c50 signed dst_comp = dst_offset >> dstshift; in offset_swizzle() local
55 assert(dst_comp << dstshift == dst_offset); in offset_swizzle()
58 signed comp = MAX2(c - dst_comp, 0); in offset_swizzle()
/third_party/mesa3d/src/compiler/nir/
Dnir_intrinsics.py829 def barycentric(name, dst_comp, src_comp=[]): argument
830 intrinsic("load_barycentric_" + name, src_comp=src_comp, dest_comp=dst_comp,