Searched refs:vs_output_param_offset (Results 1 – 11 of 11) sorted by relevance
/external/mesa3d/src/amd/compiler/ |
D | aco_instruction_selection_setup.cpp | 328 memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED, in setup_vs_output_info() 329 sizeof(outinfo->vs_output_param_offset)); in setup_vs_output_info() 342 if (outinfo->vs_output_param_offset[idx] == AC_EXP_PARAM_UNDEFINED) in setup_vs_output_info() 343 outinfo->vs_output_param_offset[idx] = outinfo->param_exports++; in setup_vs_output_info() 347 outinfo->vs_output_param_offset[VARYING_SLOT_LAYER] == AC_EXP_PARAM_UNDEFINED) { in setup_vs_output_info() 350 outinfo->vs_output_param_offset[VARYING_SLOT_LAYER] = outinfo->param_exports++; in setup_vs_output_info() 354 assert(outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] == AC_EXP_PARAM_UNDEFINED); in setup_vs_output_info() 355 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = outinfo->param_exports++; in setup_vs_output_info()
|
D | aco_instruction_selection.cpp | 10141 ? ctx->program->info->tes.outinfo.vs_output_param_offset[slot] in export_vs_varying() 10142 : ctx->program->info->vs.outinfo.vs_output_param_offset[slot]; in export_vs_varying()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 1305 skip_vs_optim_mask |= 1u << shader->info.vs_output_param_offset[i]; in si_optimize_vs_outputs() 1309 ac_optimize_vs_outputs(&ctx->ac, ctx->main_fn, shader->info.vs_output_param_offset, in si_optimize_vs_outputs() 1917 memset(shader->info.vs_output_param_offset, AC_EXP_PARAM_UNDEFINED, in si_compile_shader() 1918 sizeof(shader->info.vs_output_param_offset)); in si_compile_shader() 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()
|
D | si_shader.h | 687 ubyte vs_output_param_offset[SI_MAX_VS_OUTPUTS]; member
|
D | si_shader_llvm_vs.c | 470 assert(i < ARRAY_SIZE(shader->info.vs_output_param_offset)); in si_build_param_exports() 471 shader->info.vs_output_param_offset[i] = param_count++; in si_build_param_exports()
|
D | si_state_shaders.c | 2524 unsigned offset = shader->info.vs_output_param_offset[i]; in si_init_shader_selector_async() 3288 offset = vs->info.vs_output_param_offset[vs_slot]; in si_get_ps_input_cntl() 3310 ps_input_cntl |= S_028644_OFFSET(vs->info.vs_output_param_offset[vsinfo->num_outputs]); in si_get_ps_input_cntl()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader.h | 208 uint8_t vs_output_param_offset[VARYING_SLOT_MAX]; member
|
D | radv_nir_to_llvm.c | 1730 assert(i < ARRAY_SIZE(outinfo->vs_output_param_offset)); in radv_build_param_exports() 1731 outinfo->vs_output_param_offset[slot_name] = param_count++; in radv_build_param_exports() 1885 memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED, in handle_vs_outputs_post() 1886 sizeof(outinfo->vs_output_param_offset)); in handle_vs_outputs_post() 2855 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = param_count++; in handle_ngg_outputs_post_2() 3162 memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED, in gfx10_ngg_gs_emit_epilogue_2() 3163 sizeof(outinfo->vs_output_param_offset)); in gfx10_ngg_gs_emit_epilogue_2() 3641 outinfo->vs_output_param_offset, in ac_nir_eliminate_const_vs_outputs()
|
D | radv_pipeline.c | 4724 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID]; in radv_pipeline_generate_ps_inputs() 4733 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_LAYER]; in radv_pipeline_generate_ps_inputs() 4742 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_VIEWPORT]; in radv_pipeline_generate_ps_inputs() 4760 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST0]; in radv_pipeline_generate_ps_inputs() 4766 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST1]; in radv_pipeline_generate_ps_inputs() 4782 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_VAR0 + i]; in radv_pipeline_generate_ps_inputs()
|
/external/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.c | 2706 static bool ac_eliminate_const_output(uint8_t *vs_output_param_offset, uint32_t num_outputs, in ac_eliminate_const_output() argument 2741 if (vs_output_param_offset[i] == exp->offset) { in ac_eliminate_const_output() 2742 vs_output_param_offset[i] = AC_EXP_PARAM_DEFAULT_VAL_0000 + default_val; in ac_eliminate_const_output() 2750 uint8_t *vs_output_param_offset, uint32_t num_outputs, in ac_eliminate_duplicated_output() argument 2823 if (vs_output_param_offset[i] == exp->offset) { in ac_eliminate_duplicated_output() 2824 vs_output_param_offset[i] = match->offset; in ac_eliminate_duplicated_output() 2832 uint8_t *vs_output_param_offset, uint32_t num_outputs, in ac_optimize_vs_outputs() argument 2898 (ac_eliminate_const_output(vs_output_param_offset, num_outputs, &exp) || in ac_optimize_vs_outputs() 2899 ac_eliminate_duplicated_output(ctx, vs_output_param_offset, num_outputs, &exports, in ac_optimize_vs_outputs() 2918 memcpy(old_offset, vs_output_param_offset, sizeof(old_offset)); in ac_optimize_vs_outputs() [all …]
|
D | ac_llvm_build.h | 449 uint8_t *vs_output_param_offset, uint32_t num_outputs,
|