Home | History | Annotate | Download | only in a2xx

Lines Matching refs:swizzle

400 	assert(!dst_reg->swizzle || (strlen(dst_reg->swizzle) == 4));
402 assert(!src1_reg->swizzle || (strlen(src1_reg->swizzle) == 4));
404 assert(!src2_reg->swizzle || (strlen(src2_reg->swizzle) == 4));
492 int num, const char *swizzle, int flags)
496 DEBUG_MSG("%x, %d, %s", flags, num, swizzle);
500 reg->swizzle = ir2_strdup(instr->shader, swizzle);
530 assert(reg->swizzle);
532 DEBUG_MSG("fetch src R%d.%s", reg->num, reg->swizzle);
536 switch (reg->swizzle[i]) {
538 ERROR_MSG("invalid fetch src swizzle: %s", reg->swizzle);
555 assert(!reg->swizzle || (strlen(reg->swizzle) == 4));
557 DEBUG_MSG("fetch dst R%d.%s", reg->num, reg->swizzle);
559 if (reg->swizzle) {
562 switch (reg->swizzle[i]) {
564 ERROR_MSG("invalid dst swizzle: %s", reg->swizzle);
588 assert(!reg->swizzle || (strlen(reg->swizzle) == 4));
590 DEBUG_MSG("alu dst R%d.%s", reg->num, reg->swizzle);
592 if (reg->swizzle) {
595 if (reg->swizzle[i] == "xyzw"[i]) {
597 } else if (reg->swizzle[i] != '_') {
598 swizzle: %s", reg->swizzle);
615 assert(!reg->swizzle || (strlen(reg->swizzle) == 4));
617 DEBUG_MSG("vector src R%d.%s", reg->num, reg->swizzle);
619 if (reg->swizzle) {
622 switch (reg->swizzle[i]) {
624 ERROR_MSG("invalid vector src swizzle: %s", reg->swizzle);