Home | History | Annotate | Download | only in compiler

Lines Matching refs:swz

187 		unsigned int swz = GET_SWZ(src.Swizzle, chan);
188 if (swz < 4) {
192 if (swz == RC_SWIZZLE_UNUSED)
196 *pswz = swz;
200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) {
212 rc_swizzle swz = 0;
215 if (is_src_uniform_constant(inst->U.I.SrcReg[2], &swz, &negate)) {
216 if (swz == RC_SWIZZLE_ZERO) {
222 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) {
223 if (swz == RC_SWIZZLE_ONE) {
229 } else if (swz == RC_SWIZZLE_ZERO) {
236 if (is_src_uniform_constant(inst->U.I.SrcReg[0], &swz, &negate)) {
237 if (swz == RC_SWIZZLE_ONE) {
243 } else if (swz == RC_SWIZZLE_ZERO) {
253 rc_swizzle swz = 0;
256 if (is_src_uniform_constant(inst->U.I.SrcReg[0], &swz, &negate)) {
257 if (swz == RC_SWIZZLE_ONE) {
263 } else if (swz == RC_SWIZZLE_ZERO) {
270 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) {
271 if (swz == RC_SWIZZLE_ONE) {
276 } else if (swz == RC_SWIZZLE_ZERO) {
286 rc_swizzle swz = 0;
289 if (is_src_uniform_constant(inst->U.I.SrcReg[0], &swz, &negate)) {
290 if (swz == RC_SWIZZLE_ZERO) {
297 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) {
298 if (swz == RC_SWIZZLE_ZERO) {
345 unsigned int swz = GET_SWZ(newsrc.Swizzle, chan);
350 if (swz >= 4)
353 imm = constant->u.Immediate[swz];
423 unsigned int swz = GET_SWZ(src.Swizzle, chan);
424 if (swz == RC_SWIZZLE_ZERO || swz == RC_SWIZZLE_HALF
425 || swz == RC_SWIZZLE_ONE) {
538 rc_swizzle swz =
540 if (swz == RC_SWIZZLE_ONE
541 || swz == RC_SWIZZLE_ZERO
542 || swz == RC_SWIZZLE_HALF) {
630 unsigned int i, swz;
639 swz = GET_SWZ(inst_add->U.I.SrcReg[0].Swizzle, i);
641 && swz != RC_SWIZZLE_ONE) {
703 unsigned int chan = 0, swz, i;
732 swz = RC_SWIZZLE_UNUSED;
740 if (swz == RC_SWIZZLE_UNUSED) {
741 swz = j_swz;
743 } else if (j_swz != swz) {