Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dlower_packed_varyings.cpp558 unsigned left_components, right_components; in lower_rvalue() local
564 left_components = 4 - fine_location % 4; in lower_rvalue()
567 left_components /= 2; in lower_rvalue()
569 right_components = rvalue->type->vector_elements - left_components; in lower_rvalue()
571 for (unsigned i = 0; i < left_components; i++) { in lower_rvalue()
576 right_swizzle_values[i] = i + left_components; in lower_rvalue()
577 right_swizzle_name[i] = "xyzw"[i + left_components]; in lower_rvalue()
580 ir_swizzle(rvalue, left_swizzle_values, left_components); in lower_rvalue()
588 if (left_components) in lower_rvalue()