Lines Matching refs:Swizzle
232 static INLINE unsigned long t_swizzle(GLubyte swizzle)
235 return swizzle;
288 t_swizzle(GET_SWZ(src->Swizzle, 0)),
289 t_swizzle(GET_SWZ(src->Swizzle, 1)),
290 t_swizzle(GET_SWZ(src->Swizzle, 2)),
291 t_swizzle(GET_SWZ(src->Swizzle, 3)),
300 t_swizzle(GET_SWZ(src->Swizzle, 0)),
301 t_swizzle(GET_SWZ(src->Swizzle, 0)),
302 t_swizzle(GET_SWZ(src->Swizzle, 0)),
303 t_swizzle(GET_SWZ(src->Swizzle, 0)),
617 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) {
618 src[i].Swizzle &= ~(SWIZZLE_W << (j*3));
619 src[i].Swizzle |= SWIZZLE_ONE << (j*3);
626 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) {
627 src[i].Swizzle &= ~(SWIZZLE_W << (j*3));
628 src[i].Swizzle |= SWIZZLE_ZERO << (j*3);
635 if (GET_SWZ(src[i].Swizzle, j) == SWIZZLE_W) {
636 src[i].Swizzle &= ~(SWIZZLE_W << (j*3));
637 src[i].Swizzle |= SWIZZLE_ONE << (j*3);
639 else if ((GET_SWZ(src[i].Swizzle, j) == SWIZZLE_Y) ||
640 GET_SWZ(src[i].Swizzle, j) == SWIZZLE_Z) {
641 src[i].Swizzle &= ~(SWIZZLE_W << (j*3));
642 src[i].Swizzle |= SWIZZLE_ZERO << (j*3);
714 t_swizzle(GET_SWZ(src[0].Swizzle, 0)),
716 t_swizzle(GET_SWZ(src[1].Swizzle, 0)),
728 t_swizzle(GET_SWZ(src[0].Swizzle, 0)),
734 t_swizzle(GET_SWZ(src[1].Swizzle, 0)), SWIZZLE_ZERO,
806 t_swizzle(GET_SWZ(src[0].Swizzle, 0)),
807 t_swizzle(GET_SWZ(src[0].Swizzle, 1)),
808 t_swizzle(GET_SWZ(src[0].Swizzle, 2)),
814 t_swizzle(GET_SWZ(src[1].Swizzle, 0)),
815 t_swizzle(GET_SWZ(src[1].Swizzle, 1)),
816 t_swizzle(GET_SWZ(src[1].Swizzle, 2)),
829 t_swizzle(GET_SWZ(src[0].Swizzle, 0)),
830 t_swizzle(GET_SWZ(src[0].Swizzle, 1)),
831 t_swizzle(GET_SWZ(src[0].Swizzle, 2)),
845 t_swizzle(GET_SWZ(src[1].Swizzle, 0)),
846 t_swizzle(GET_SWZ(src[1].Swizzle, 1)),
847 t_swizzle(GET_SWZ(src[1].Swizzle, 2)),
848 t_swizzle(GET_SWZ(src[1].Swizzle, 3)),
860 t_swizzle(GET_SWZ(src[0].Swizzle, 0)),
861 t_swizzle(GET_SWZ(src[0].Swizzle, 1)),
862 t_swizzle(GET_SWZ(src[0].Swizzle, 2)),
863 t_swizzle(GET_SWZ(src[0].Swizzle, 3)),
913 t_swizzle(GET_SWZ(src[0].Swizzle, 1)), // y
914 t_swizzle(GET_SWZ(src[0].Swizzle, 2)), // z
915 t_swizzle(GET_SWZ(src[0].Swizzle, 0)), // x
916 t_swizzle(GET_SWZ(src[0].Swizzle, 3)), // w
921 t_swizzle(GET_SWZ(src[1].Swizzle, 2)), // z
922 t_swizzle(GET_SWZ(src[1].Swizzle, 0)), // x
923 t_swizzle(GET_SWZ(src[1].Swizzle, 1)), // y
924 t_swizzle(GET_SWZ(src[1].Swizzle, 3)), // w
936 t_swizzle(GET_SWZ(src[1].Swizzle, 1)), // y
937 t_swizzle(GET_SWZ(src[1].Swizzle, 2)), // z
938 t_swizzle(GET_SWZ(src[1].Swizzle, 0)), // x
939 t_swizzle(GET_SWZ(src[1].Swizzle, 3)), // w
944 t_swizzle(GET_SWZ(src[0].Swizzle, 2)), // z
945 t_swizzle(GET_SWZ(src[0].Swizzle, 0)), // x
946 t_swizzle(GET_SWZ(src[0].Swizzle, 1)), // y
947 t_swizzle(GET_SWZ(src[0].Swizzle, 3)), // w