Lines Matching refs:mainp
2445 struct si_shader *mainp = *si_get_main_shader_part(sel, &shader->key); in si_create_shader_variant() local
2478 if (!mainp) in si_create_shader_variant()
2483 shader->binary = mainp->binary; in si_create_shader_variant()
2484 shader->config = mainp->config; in si_create_shader_variant()
2485 shader->info.num_input_sgprs = mainp->info.num_input_sgprs; in si_create_shader_variant()
2486 shader->info.num_input_vgprs = mainp->info.num_input_vgprs; in si_create_shader_variant()
2487 shader->info.face_vgpr_index = mainp->info.face_vgpr_index; in si_create_shader_variant()
2488 shader->info.ancillary_vgpr_index = mainp->info.ancillary_vgpr_index; in si_create_shader_variant()
2489 memcpy(shader->info.vs_output_param_offset, mainp->info.vs_output_param_offset, in si_create_shader_variant()
2490 sizeof(mainp->info.vs_output_param_offset)); in si_create_shader_variant()
2491 shader->info.uses_instanceid = mainp->info.uses_instanceid; in si_create_shader_variant()
2492 shader->info.nr_pos_exports = mainp->info.nr_pos_exports; in si_create_shader_variant()
2493 shader->info.nr_param_exports = mainp->info.nr_param_exports; in si_create_shader_variant()