Home
last modified time | relevance | path

Searched refs:swiz2 (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_swizzle.cpp66 ir_swizzle *swiz2; in handle_rvalue() local
68 while ((swiz2 = swiz->val->as_swizzle()) != NULL) { in handle_rvalue()
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()
[all …]