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.cpp482 unsigned left_components, right_components; in lower_rvalue() local
488 left_components = 4 - fine_location % 4; in lower_rvalue()
491 left_components /= 2; in lower_rvalue()
493 right_components = rvalue->type->vector_elements - left_components; in lower_rvalue()
495 for (unsigned i = 0; i < left_components; i++) { in lower_rvalue()
500 right_swizzle_values[i] = i + left_components; in lower_rvalue()
501 right_swizzle_name[i] = "xyzw"[i + left_components]; in lower_rvalue()
504 ir_swizzle(rvalue, left_swizzle_values, left_components); in lower_rvalue()
512 if (left_components) in lower_rvalue()