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.cpp562 unsigned left_components, right_components; in lower_rvalue() local
568 left_components = 4 - fine_location % 4; in lower_rvalue()
571 left_components /= 2; in lower_rvalue()
573 right_components = rvalue->type->vector_elements - left_components; in lower_rvalue()
575 for (unsigned i = 0; i < left_components; i++) { in lower_rvalue()
580 right_swizzle_values[i] = i + left_components; in lower_rvalue()
581 right_swizzle_name[i] = "xyzw"[i + left_components]; in lower_rvalue()
589 if (left_components) { in lower_rvalue()
593 ir_swizzle(rvalue, left_swizzle_values, left_components); in lower_rvalue()