• Home
  • Raw
  • Download

Lines Matching refs:rhs_components

529 	 unsigned rhs_components = param->type->components();  in emit_inline_vector_constructor()  local
533 if ((rhs_components + base_lhs_component) > lhs_components) { in emit_inline_vector_constructor()
534 rhs_components = lhs_components - base_lhs_component; in emit_inline_vector_constructor()
539 for (unsigned i = 0; i < rhs_components; i++) { in emit_inline_vector_constructor()
561 constant_mask |= ((1U << rhs_components) - 1) << base_lhs_component; in emit_inline_vector_constructor()
562 constant_components += rhs_components; in emit_inline_vector_constructor()
564 base_component += rhs_components; in emit_inline_vector_constructor()
569 base_lhs_component += rhs_components; in emit_inline_vector_constructor()
587 unsigned rhs_components = param->type->components(); in emit_inline_vector_constructor() local
591 if ((rhs_components + base_component) > lhs_components) { in emit_inline_vector_constructor()
592 rhs_components = lhs_components - base_component; in emit_inline_vector_constructor()
599 const unsigned write_mask = ((1U << rhs_components) - 1) in emit_inline_vector_constructor()
607 new(ctx) ir_swizzle(param, 0, 1, 2, 3, rhs_components); in emit_inline_vector_constructor()
617 base_component += rhs_components; in emit_inline_vector_constructor()
875 unsigned rhs_components = rhs->type->components(); in emit_inline_matrix_constructor() local
896 if (rhs_components >= components_remaining_this_column) { in emit_inline_matrix_constructor()
897 const unsigned count = MIN2(rhs_components, in emit_inline_matrix_constructor()
921 if ((col_idx < cols) && (rhs_base < rhs_components)) { in emit_inline_matrix_constructor()
922 const unsigned count = rhs_components - rhs_base; in emit_inline_matrix_constructor()