Lines Matching refs:mask
72 if (swiz2->mask.num_components >= 1) in handle_rvalue()
73 mask2[0] = swiz2->mask.x; in handle_rvalue()
74 if (swiz2->mask.num_components >= 2) in handle_rvalue()
75 mask2[1] = swiz2->mask.y; in handle_rvalue()
76 if (swiz2->mask.num_components >= 3) in handle_rvalue()
77 mask2[2] = swiz2->mask.z; in handle_rvalue()
78 if (swiz2->mask.num_components >= 4) in handle_rvalue()
79 mask2[3] = swiz2->mask.w; in handle_rvalue()
81 if (swiz->mask.num_components >= 1) in handle_rvalue()
82 swiz->mask.x = mask2[swiz->mask.x]; in handle_rvalue()
83 if (swiz->mask.num_components >= 2) in handle_rvalue()
84 swiz->mask.y = mask2[swiz->mask.y]; in handle_rvalue()
85 if (swiz->mask.num_components >= 3) in handle_rvalue()
86 swiz->mask.z = mask2[swiz->mask.z]; in handle_rvalue()
87 if (swiz->mask.num_components >= 4) in handle_rvalue()
88 swiz->mask.w = mask2[swiz->mask.w]; in handle_rvalue()
99 if (swiz->mask.x != 0) in handle_rvalue()
101 if (elems >= 2 && swiz->mask.y != 1) in handle_rvalue()
103 if (elems >= 3 && swiz->mask.z != 2) in handle_rvalue()
105 if (elems >= 4 && swiz->mask.w != 3) in handle_rvalue()