Lines Matching refs:swiz
526 uint32_t swiz = 0;
535 swiz <<= 2;
539 case 'x': swiz |= 0x0; break;
540 case 'y': swiz |= 0x1; break;
541 case 'z': swiz |= 0x2; break;
542 case 'w': swiz |= 0x3; break;
546 return swiz;
551 uint32_t swiz = 0;
561 swiz <<= 3;
565 case 'x': swiz |= 0x0; break;
566 case 'y': swiz |= 0x1; break;
567 case 'z': swiz |= 0x2; break;
568 case 'w': swiz |= 0x3; break;
569 case '0': swiz |= 0x4; break;
570 case '1': swiz |= 0x5; break;
571 case '_': swiz |= 0x7; break;
575 swiz = 0x688;
578 return swiz;
584 uint32_t swiz = 0;
594 swiz <<= 1;
596 swiz |= 0x1;
603 swiz = 0xf;
606 return swiz;
611 uint32_t swiz = 0;
621 swiz <<= 2;
625 case 'x': swiz |= (0x0 - i) & 0x3; break;
626 case 'y': swiz |= (0x1 - i) & 0x3; break;
627 case 'z': swiz |= (0x2 - i) & 0x3; break;
628 case 'w': swiz |= (0x3 - i) & 0x3; break;
632 swiz = 0x0;
635 return swiz;