Home
last modified time | relevance | path

Searched refs:export_prim_id (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_nir.h103 bool export_prim_id,
Dac_nir_lower_ngg.c52 bool export_prim_id; member
331 assert(!st->export_prim_id || b->shader->info.stage != MESA_SHADER_VERTEX); in emit_ngg_nogs_prim_exp_arg()
360 if (st->export_prim_id && b->shader->info.stage == MESA_SHADER_VERTEX) { in emit_ngg_nogs_prim_export()
1272 bool export_prim_id, in ac_nir_lower_ngg_nogs() argument
1289 .export_prim_id = export_prim_id, in ac_nir_lower_ngg_nogs()
1305 if (shader->info.stage == MESA_SHADER_VERTEX && export_prim_id) in ac_nir_lower_ngg_nogs()
1359 … if (state.export_prim_id && (state.early_prim_export || shader->info.stage != MESA_SHADER_VERTEX)) in ac_nir_lower_ngg_nogs()
1367 if (state.export_prim_id && shader->info.stage == MESA_SHADER_VERTEX) { in ac_nir_lower_ngg_nogs()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c969 if (info->tes.outinfo.export_prim_id) in radv_lower_ngg()
991 bool export_prim_id; in radv_lower_ngg() local
999 export_prim_id = info->vs.outinfo.export_prim_id; in radv_lower_ngg()
1001 export_prim_id = info->tes.outinfo.export_prim_id; in radv_lower_ngg()
1013 export_prim_id, in radv_lower_ngg()
1390 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1441 } else if (info->vs.outinfo.export_prim_id) { in radv_postprocess_config()
1495 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1506 info->vs.outinfo.export_prim_id)) { in radv_postprocess_config()
Dradv_nir_to_llvm.c1353 handle_vs_outputs_post(struct radv_shader_context *ctx, bool export_prim_id, bool export_clip_dists, in handle_vs_outputs_post() argument
1378 unsigned num_outputs = util_bitcount64(ctx->output_mask) + export_prim_id; in handle_vs_outputs_post()
1405 if (export_prim_id) { in handle_vs_outputs_post()
1604 if (ctx->stage == MESA_SHADER_VERTEX && ctx->args->shader_info->vs.outinfo.export_prim_id) { in handle_ngg_outputs_post_2()
1668 if (outinfo->export_prim_id) { in handle_ngg_outputs_post_2()
2185 handle_vs_outputs_post(ctx, ctx->args->shader_info->vs.outinfo.export_prim_id, in handle_shader_outputs_post()
2203 handle_vs_outputs_post(ctx, ctx->args->shader_info->tes.outinfo.export_prim_id, in handle_shader_outputs_post()
2497 args->shader_info->vs.outinfo.export_prim_id) { in ac_translate_nir_to_llvm()
Dradv_shader.h198 bool export_prim_id; member
Dradv_pipeline.c2074 if (!nir[MESA_SHADER_TESS_CTRL] && infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id) in gfx10_get_ngg_info()
2771 if (es_stage == MESA_SHADER_VERTEX && infos[es_stage].vs.outinfo.export_prim_id) in radv_determine_ngg_settings()
2783 infos[es_stage].vs.outinfo.export_prim_id); in radv_determine_ngg_settings()
2871 infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id = true; in radv_fill_shader_info()
2873 infos[MESA_SHADER_TESS_EVAL].tes.outinfo.export_prim_id = true; in radv_fill_shader_info()
4388 } else if (outinfo->export_prim_id || vs->info.uses_prim_id) { in radv_pipeline_generate_vgt_gs_mode()
4533 bool es_enable_prim_id = outinfo->export_prim_id || (es && es->info.uses_prim_id); in radv_pipeline_generate_hw_ngg()
4575 S_028A84_NGG_DISABLE_PROVOK_REUSE(outinfo->export_prim_id)); in radv_pipeline_generate_hw_ngg()
Dradv_shader_info.c701 if (outinfo->export_prim_id) { in radv_nir_shader_info_pass()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst3890 - radv/llvm: stop using vs_common_out.export_prim_id
3899 - radv: remove unnecessary radv_shader_info:{vs,tes}.export_prim_id
3900 - radv: remove unnecessary init of outinfo.export_prim_id for GS
3901 - radv: remove vs_common_out:export_prim_id
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10755 if (outinfo->export_prim_id && ctx->stage.hw != HWStage::NGG) { in create_vs_exports()