Home | History | Annotate | Download | only in compiler

Lines Matching refs:Swizzle

59 		combine.Negate = swizzle_mask(outer.Swizzle, inner.Negate);
62 combine.Swizzle = combine_swizzles(inner.Swizzle, outer.Swizzle);
74 rc_swizzle_to_writemask(src->Swizzle),
113 && (rc_swizzle_to_writemask(src->Swizzle) & sc_data->Mask)) {
174 * swizzle constant.
187 unsigned int swz = GET_SWZ(src.Swizzle, chan);
265 inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000;
278 inst->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_0000;
323 if (GET_SWZ(inst->U.I.SrcReg[src].Swizzle, chan) <= 3)
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan);
369 SET_SWZ(newsrc.Swizzle, chan, newswz);
379 /* don't make the swizzle worse */
415 return rc_swizzle_to_writemask(src.Swizzle);
418 /* Return 1 if the source registers has a constant swizzle (e.g. 0, 0.5, 1.0)
423 unsigned int swz = GET_SWZ(src.Swizzle, chan);
529 /* If both sources use a constant swizzle, then we can't convert it to
531 * operations neither source can contain a constant swizzle. This
539 get_swz(inst->U.I.SrcReg[i].Swizzle, chan);
570 if (inst_add->U.I.SrcReg[0].Swizzle != inst_add->U.I.SrcReg[1].Swizzle)
619 * of the add instruction must have the constatnt 1 swizzle. This function
639 swz = GET_SWZ(inst_add->U.I.SrcReg[0].Swizzle, i);
731 /* The constant src needs to read from the same swizzle */
736 GET_SWZ(inst_mul->U.I.SrcReg[i].Swizzle, j);
762 inst_mul->U.I.SrcReg[const_index].Swizzle,