Home | History | Annotate | Download | only in glsl

Lines Matching full:swiz

59    ir_swizzle *swiz = (*rvalue)->as_swizzle();
60 if (!swiz || swiz->type != swiz->val->type)
63 int elems = swiz->val->type->vector_elements;
64 if (swiz->mask.x != 0)
66 if (elems >= 2 && swiz->mask.y != 1)
68 if (elems >= 3 && swiz->mask.z != 2)
70 if (elems >= 4 && swiz->mask.w != 3)
74 *rvalue = swiz->val;