Lines Matching refs:num_components
472 const ubyte *num_components = sel->info.num_stream_output_components;
485 offset = num_components[0] * sel->gs_max_out_vertices;
488 offset += num_components[1] * sel->gs_max_out_vertices;
491 offset += num_components[2] * sel->gs_max_out_vertices;
494 offset += num_components[3] * sel->gs_max_out_vertices;
502 si_pm4_set_reg(pm4, R_028B5C_VGT_GS_VERT_ITEMSIZE, num_components[0]);
503 si_pm4_set_reg(pm4, R_028B60_VGT_GS_VERT_ITEMSIZE_1, (max_stream >= 1) ? num_components[1] : 0);
504 si_pm4_set_reg(pm4, R_028B64_VGT_GS_VERT_ITEMSIZE_2, (max_stream >= 2) ? num_components[2] : 0);
505 si_pm4_set_reg(pm4, R_028B68_VGT_GS_VERT_ITEMSIZE_3, (max_stream >= 3) ? num_components[3] : 0);