Lines Matching refs:Alpha
133 unsigned int * alpha)
141 *alpha = 1;
170 pair->Alpha.Opcode = inst->Opcode;
172 pair->Alpha.Saturate = 1;
182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */
193 unsigned int alpha = 0;
194 src_uses(inst->SrcReg[j], &rgb, &alpha);
202 if(alpha) {
203 pair->Alpha.Src[i].File =
205 pair->Alpha.Src[i].Index =
207 pair->Alpha.Src[i].Used = 1;
220 /* We don't care about the alpha channel here. We only
265 "alpha instruction.\n");
268 pair->Alpha.Arg[i].Source = source;
269 pair->Alpha.Arg[i].Swizzle = rc_init_swizzle(swz, 1);
270 pair->Alpha.Arg[i].Abs = inst->SrcReg[i].Abs;
273 pair->Alpha.Arg[i].Negate =
277 pair->Alpha.Arg[i].Negate =
286 pair->Alpha.DepthWriteMask |= GET_BIT(inst->DstReg.WriteMask, 3);
291 pair->Alpha.Target = i;
294 pair->Alpha.OutputWriteMask |=
307 pair->Alpha.WriteMask |= (GET_BIT(inst->DstReg.WriteMask, 3) << 3);
308 if (pair->Alpha.WriteMask) {
309 pair->Alpha.DestIndex = inst->DstReg.Index;
318 pair->Alpha.Omod = inst->Omod;