Lines Matching refs:temp

36                             struct ureg_dst *temp,
44 struct ureg_dst *temp,
55 ureg_MOV(ureg, ureg_writemask(temp[0], TGSI_WRITEMASK_XY), in[0]); \
57 ureg_writemask(temp[0], TGSI_WRITEMASK_Z), \
59 ureg_DP3(ureg, temp[1], constant[4], ureg_src(temp[0])); \
60 ureg_DP3(ureg, temp[2], constant[5], ureg_src(temp[0])); \
61 ureg_DP3(ureg, temp[3], constant[6], ureg_src(temp[0])); \
62 ureg_RCP(ureg, temp[3], ureg_src(temp[3])); \
63 ureg_MUL(ureg, temp[1], ureg_src(temp[1]), ureg_src(temp[3])); \
64 ureg_MUL(ureg, temp[2], ureg_src(temp[2]), ureg_src(temp[3])); \
66 ureg_writemask(temp[4], TGSI_WRITEMASK_X), \
67 ureg_src(temp[1])); \
69 ureg_writemask(temp[4], TGSI_WRITEMASK_Y), \
70 ureg_src(temp[2]));
77 struct ureg_dst *temp,
83 ureg_MUL(ureg, temp[0],
85 ureg_scalar(ureg_src(temp[4]), TGSI_SWIZZLE_Y));
86 ureg_MAD(ureg, temp[1],
88 ureg_scalar(ureg_src(temp[4]), TGSI_SWIZZLE_X),
89 ureg_src(temp[0]));
90 ureg_MUL(ureg, temp[2], ureg_src(temp[1]),
93 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[2]), sampler[0]);
101 struct ureg_dst *temp,
115 ureg_DP2(ureg, temp[0], ureg_src(temp[4]), constant[2]);
116 ureg_DP2(ureg, temp[1], ureg_src(temp[4]), ureg_src(temp[4]));
119 ureg_MUL(ureg, temp[2], ureg_src(temp[0]), ureg_src(temp[0]));
120 ureg_MAD(ureg, temp[3], ureg_src(temp[1]),
121 ureg_scalar(constant[2], TGSI_SWIZZLE_Z), ureg_src(temp[2]));
122 ureg_RSQ(ureg, temp[3], ureg_src(temp[3]));
123 ureg_RCP(ureg, temp[3], ureg_src(temp[3]));
125 ureg_SUB(ureg, temp[3], ureg_src(temp[3]), ureg_src(temp[0]));
126 ureg_RCP(ureg, temp[0], ureg_scalar(constant[2], TGSI_SWIZZLE_Z));
127 ureg_MUL(ureg, temp[0], ureg_src(temp[0]), ureg_src(temp[3]));
129 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[0]), sampler[0]);
138 struct ureg_dst *temp,
144 ureg_RCP(ureg, temp[0],
150 ureg_MOV(ureg, temp[1], ureg_src(temp[4]));
152 ureg_writemask(temp[1], TGSI_WRITEMASK_X),
153 ureg_src(temp[1]),
154 ureg_src(temp[0]));
156 ureg_writemask(temp[1], TGSI_WRITEMASK_Y),
157 ureg_src(temp[1]),
158 ureg_src(temp[0]));
160 ureg_TEX(ureg, *out, TGSI_TEXTURE_2D, ureg_src(temp[1]), sampler[0]);
168 struct ureg_dst *temp,
172 ureg_MOV(ureg, temp[1], ureg_scalar(constant[3], TGSI_SWIZZLE_Y));
173 ureg_TEX(ureg, *out, TGSI_TEXTURE_1D, ureg_src(temp[1]), sampler[0]);
181 struct ureg_dst *temp,
185 ureg_TEX(ureg, temp[1], TGSI_TEXTURE_2D, in[1], sampler[3]);
186 ureg_MOV(ureg, *out, ureg_src(temp[1]));
195 struct ureg_dst *temp,
199 ureg_TEX(ureg, temp[1], TGSI_TEXTURE_2D, in[1], sampler[3]);
200 ureg_MUL(ureg, *out, ureg_src(temp[0]), ureg_src(temp[1]));
209 struct ureg_dst *temp,
213 ureg_TEX(ureg, temp[1], TGSI_TEXTURE_2D, in[1], sampler[3]);
214 ureg_MOV(ureg, *out, ureg_src(temp[0]));
222 struct ureg_dst *temp,
227 ureg_MAD(ureg, temp[2], ureg_src(temp[0]), constant[0], constant[1]);
229 ureg_CLAMP(ureg, temp[2],
230 ureg_src(temp[2]),
233 ureg_MOV(ureg, *out, ureg_src(temp[2]));
241 struct ureg_dst *temp,
245 ureg_MOV(ureg, temp[1], ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_W));
247 ureg_MOV(ureg, *out, ureg_src(temp[0]));
255 struct ureg_dst *temp,
260 ureg_writemask(temp[1], TGSI_WRITEMASK_W),
261 ureg_src(temp[0]),
262 ureg_src(temp[1]));
264 ureg_writemask(temp[1], TGSI_WRITEMASK_XYZ),
265 ureg_src(temp[1]),
266 ureg_scalar(ureg_src(temp[1]), TGSI_SWIZZLE_W));
270 ureg_writemask(temp[0], TGSI_WRITEMASK_W),
271 ureg_src(temp[1]));
272 ureg_MOV(ureg, *out, ureg_src(temp[0]));
303 struct ureg_dst temp[1])
307 temp[0],
311 ureg_RCP(ureg, temp[0], ureg_src(temp[0]));
316 ureg_src(temp[0]));
332 struct ureg_dst temp[2])
347 ureg_SUB(ureg, temp[0], one, src_channel_alpha);
348 ureg_MAD(ureg, out, ureg_src(temp[0]), dst, src);
352 ureg_SUB(ureg, temp[0], one, ureg_scalar(dst, TGSI_SWIZZLE_W));
353 ureg_MAD(ureg, out, ureg_src(temp[0]), src, dst);
366 ureg_MAD(ureg, temp[0],
368 ureg_MAD(ureg, temp[1],
370 ureg_MAD(ureg, temp[0], src, dst, ureg_src(temp[0]));
371 ureg_ADD(ureg, out, ureg_src(temp[0]), ureg_src(temp[1]));
374 src, ureg_src(temp[1]));
378 ureg_SUB(ureg, temp[0], one, src);
379 ureg_MAD(ureg, out, ureg_src(temp[0]), dst, src);
384 ureg_SUB(ureg, temp[0], one, src_channel_alpha);
385 ureg_MAD(ureg, temp[0], ureg_src(temp[0]), dst, src);
387 ureg_SUB(ureg, temp[1], one, ureg_scalar(dst, TGSI_SWIZZLE_W));
388 ureg_MAD(ureg, temp[1], ureg_src(temp[1]), src, dst);
392 ureg_src(temp[0]), ureg_src(temp[1]));
396 ureg_src(temp[0]), ureg_src(temp[1]));
401 ureg_ADD(ureg, temp[0], src, dst);
402 ureg_MIN(ureg, out, ureg_src(temp[0]), one);
409 blend_unpremultiply(ureg, src, one, temp);
414 ureg_TEX(ureg, temp[2], TGSI_TEXTURE_2D, in[0], sampler[2]); \
415 blend_generic(ureg, (mode), ureg_src(temp[0]), ureg_src(temp[1]), \
416 ureg_src(temp[2]), \
417 ureg_scalar(constant[3], TGSI_SWIZZLE_Y), temp + 3); \
418 ureg_MOV(ureg, *out, ureg_src(temp[0])); \
426 struct ureg_dst *temp,
437 struct ureg_dst *temp,
448 struct ureg_dst *temp,
459 struct ureg_dst *temp,
470 struct ureg_dst *temp,
481 struct ureg_dst *temp,
492 struct ureg_dst *temp,
503 struct ureg_dst *temp,
514 struct ureg_dst *temp,
525 struct ureg_dst *temp,
536 struct ureg_dst *temp,
539 ureg_TEX(ureg, temp[1], TGSI_TEXTURE_2D, in[0], sampler[1]);
540 ureg_MUL(ureg, ureg_writemask(temp[0], TGSI_WRITEMASK_W),
541 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_W),
542 ureg_scalar(ureg_src(temp[1]), TGSI_SWIZZLE_W));
543 ureg_MOV(ureg, *out, ureg_src(temp[0]));
551 struct ureg_dst *temp,
555 ureg_writemask(temp[0], TGSI_WRITEMASK_XYZ),
556 ureg_src(temp[0]),
557 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_W));
565 struct ureg_dst *temp,
568 ureg_TEX(ureg, temp[0], TGSI_TEXTURE_2D, in[0], sampler[1]);
577 struct ureg_dst *temp,
580 ureg_ADD(ureg, temp[1],
583 ureg_RCP(ureg, temp[2], ureg_src(temp[1]));
584 ureg_ADD(ureg, temp[1],
586 ureg_src(temp[2]));
587 ureg_ADD(ureg, ureg_writemask(temp[2], TGSI_WRITEMASK_X),
588 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_X),
589 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_Y));
590 ureg_ADD(ureg, ureg_writemask(temp[2], TGSI_WRITEMASK_X),
591 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_Z),
592 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_X));
594 ureg_writemask(temp[0], TGSI_WRITEMASK_XYZ),
595 ureg_scalar(ureg_src(temp[2]), TGSI_SWIZZLE_X),
596 ureg_src(temp[1]));
598 ureg_writemask(temp[0], TGSI_WRITEMASK_W),
599 ureg_scalar(ureg_src(temp[0]), TGSI_SWIZZLE_W),
600 ureg_scalar(ureg_src(temp[2]), TGSI_SWIZZLE_Y));
601 ureg_MOV(ureg, *out, ureg_src(temp[0]));