Searched refs:vs_output_param_offset (Results 1 - 19 of 19) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_shader_info.c679 memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED,
680 sizeof(outinfo->vs_output_param_offset));
690 if (outinfo->vs_output_param_offset[idx] == AC_EXP_PARAM_UNDEFINED)
691 outinfo->vs_output_param_offset[idx] = outinfo->param_exports++;
695 outinfo->vs_output_param_offset[VARYING_SLOT_LAYER] == AC_EXP_PARAM_UNDEFINED) {
698 outinfo->vs_output_param_offset[VARYING_SLOT_LAYER] = outinfo->param_exports++;
702 assert(outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] == AC_EXP_PARAM_UNDEFINED);
703 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = outinfo->param_exports++;
H A Dradv_shader.h190 uint8_t vs_output_param_offset[VARYING_SLOT_MAX]; member in struct:radv_vs_output_info
H A Dradv_pipeline.c4939 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID];
4947 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_LAYER];
4957 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_VIEWPORT];
4976 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST0];
4982 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST1];
4997 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_VAR0 + i];
H A Dradv_nir_to_llvm.c1202 radv_export_param(ctx, outinfo->vs_output_param_offset[slot_name], outputs[i].values,
1686 radv_export_param(ctx, outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID], values,
2248 ac_optimize_vs_outputs(&ctx->ac, ctx->main_function, outinfo->vs_output_param_offset,
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_shader.h240 uint8_t vs_output_param_offset[VARYING_SLOT_MAX]; member in struct:radv_vs_output_info
H A Dradv_nir_to_llvm.c2885 memset(outinfo->vs_output_param_offset, AC_EXP_PARAM_UNDEFINED,
2886 sizeof(outinfo->vs_output_param_offset));
2922 outinfo->vs_output_param_offset[location] = param_count++;
3040 outinfo->vs_output_param_offset[i] = param_count++;
3054 outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID] = param_count++;
3067 outinfo->vs_output_param_offset[VARYING_SLOT_LAYER] = param_count++;
3511 outinfo->vs_output_param_offset,
H A Dradv_pipeline.c3243 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_PRIMITIVE_ID];
3253 unsigned vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_LAYER];
3271 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST0];
3277 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_CLIP_DIST1];
3292 vs_offset = outinfo->vs_output_param_offset[VARYING_SLOT_VAR0 + i];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader.h580 ubyte vs_output_param_offset[SI_MAX_VS_OUTPUTS]; member in struct:si_shader_info
H A Dsi_shader.c2866 assert(i < ARRAY_SIZE(shader->info.vs_output_param_offset));
2867 shader->info.vs_output_param_offset[i] = param_count++;
5917 shader->info.vs_output_param_offset,
6695 memset(shader->info.vs_output_param_offset, AC_EXP_PARAM_UNDEFINED,
6696 sizeof(shader->info.vs_output_param_offset));
7996 memcpy(shader->info.vs_output_param_offset,
7997 mainp->info.vs_output_param_offset,
7998 sizeof(mainp->info.vs_output_param_offset));
H A Dsi_state_shaders.c2122 unsigned offset = shader->info.vs_output_param_offset[i];
2792 offset = vs->info.vs_output_param_offset[j];
2817 ps_input_cntl |= S_028644_OFFSET(vs->info.vs_output_param_offset[vsinfo->num_outputs]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_vs.c456 memset(shader->info.vs_output_param_offset, AC_EXP_PARAM_DEFAULT_VAL_0000,
457 sizeof(shader->info.vs_output_param_offset));
494 assert(i < ARRAY_SIZE(shader->info.vs_output_param_offset));
495 shader->info.vs_output_param_offset[i] = param_count++;
H A Dsi_shader.h707 ubyte vs_output_param_offset[SI_MAX_VS_OUTPUTS]; member in struct:si_shader_binary_info
H A Dsi_shader.c1445 ubyte *vs_output_param_offset = shader->info.vs_output_param_offset; local in function:si_compile_shader
1448 vs_output_param_offset = sel->gs_copy_shader->info.vs_output_param_offset;
1456 unsigned offset = vs_output_param_offset[i];
H A Dsi_shader_llvm.c1048 skip_vs_optim_mask |= 1u << shader->info.vs_output_param_offset[i];
1052 ac_optimize_vs_outputs(&ctx->ac, ctx->main_fn, shader->info.vs_output_param_offset,
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_build.c2738 static bool ac_eliminate_const_output(uint8_t *vs_output_param_offset, argument
2774 if (vs_output_param_offset[i] == exp->offset) {
2775 vs_output_param_offset[i] =
2784 uint8_t *vs_output_param_offset,
2861 if (vs_output_param_offset[i] == exp->offset) {
2862 vs_output_param_offset[i] = match->offset;
2871 uint8_t *vs_output_param_offset,
2939 if (ac_eliminate_const_output(vs_output_param_offset,
2942 vs_output_param_offset,
2962 memcpy(old_offset, vs_output_param_offset,
2783 ac_eliminate_duplicated_output(struct ac_llvm_context * ctx,uint8_t * vs_output_param_offset,uint32_t num_outputs,struct ac_vs_exports * processed,struct ac_vs_exp_inst * exp) argument
2869 ac_optimize_vs_outputs(struct ac_llvm_context * ctx,LLVMValueRef main_fn,uint8_t * vs_output_param_offset,uint32_t num_outputs,uint8_t * num_param_exports) argument
[all...]
H A Dac_llvm_build.h572 uint8_t *vs_output_param_offset,
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_build.c2748 static bool ac_eliminate_const_output(uint8_t *vs_output_param_offset, uint32_t num_outputs, argument
2783 if (vs_output_param_offset[i] == exp->offset) {
2784 vs_output_param_offset[i] = AC_EXP_PARAM_DEFAULT_VAL_0000 + default_val;
2792 uint8_t *vs_output_param_offset, uint32_t num_outputs,
2865 if (vs_output_param_offset[i] == exp->offset) {
2866 vs_output_param_offset[i] = match->offset;
2874 uint8_t *vs_output_param_offset, uint32_t num_outputs,
2940 (ac_eliminate_const_output(vs_output_param_offset, num_outputs, &exp) ||
2941 ac_eliminate_duplicated_output(ctx, vs_output_param_offset, num_outputs, &exports,
2960 memcpy(old_offset, vs_output_param_offset, sizeo
2791 ac_eliminate_duplicated_output(struct ac_llvm_context * ctx,uint8_t * vs_output_param_offset,uint32_t num_outputs,struct ac_vs_exports * processed,struct ac_vs_exp_inst * exp) argument
2873 ac_optimize_vs_outputs(struct ac_llvm_context * ctx,LLVMValueRef main_fn,uint8_t * vs_output_param_offset,uint32_t num_outputs,uint32_t skip_output_mask,uint8_t * num_param_exports) argument
[all...]
H A Dac_llvm_build.h464 uint8_t *vs_output_param_offset, uint32_t num_outputs,
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_instruction_selection.cpp10643 ? ctx->program->info->tes.outinfo.vs_output_param_offset[slot]
10644 : ctx->program->info->vs.outinfo.vs_output_param_offset[slot];

Completed in 85 milliseconds