Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_shader_info.c614 if (key->vs_common_out.export_prim_id) { in radv_nir_shader_info_pass()
617 info->vs.outinfo.export_prim_id = true; in radv_nir_shader_info_pass()
620 info->tes.outinfo.export_prim_id = true; in radv_nir_shader_info_pass()
623 info->vs.outinfo.export_prim_id = true; in radv_nir_shader_info_pass()
673 info->tes.export_prim_id = key->vs_common_out.export_prim_id; in radv_nir_shader_info_pass()
683 info->vs.export_prim_id = key->vs_common_out.export_prim_id; in radv_nir_shader_info_pass()
Dradv_shader.h60 uint32_t export_prim_id:1; member
215 bool export_prim_id; member
274 bool export_prim_id; member
300 bool export_prim_id; member
Dradv_shader.c938 bool enable_prim_id = info->tes.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
991 } else if (info->vs.export_prim_id) { in radv_postprocess_config()
1047 bool enable_prim_id = info->tes.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
Dradv_nir_to_llvm.c1865 bool export_prim_id, in handle_vs_outputs_post() argument
1897 unsigned num_outputs = util_bitcount64(ctx->output_mask) + export_prim_id; in handle_vs_outputs_post()
1929 if (export_prim_id) { in handle_vs_outputs_post()
2763 ctx->args->options->key.vs_common_out.export_prim_id) { in handle_ngg_outputs_post_2()
2833 if (ctx->args->options->key.vs_common_out.export_prim_id) { in handle_ngg_outputs_post_2()
3575 handle_vs_outputs_post(ctx, ctx->args->options->key.vs_common_out.export_prim_id, in handle_shader_outputs_post()
3594 handle_vs_outputs_post(ctx, ctx->args->options->key.vs_common_out.export_prim_id, in handle_shader_outputs_post()
3966 args->options->key.vs_common_out.export_prim_id) { in ac_translate_nir_to_llvm()
Dradv_pipeline.c2024 infos[MESA_SHADER_VERTEX].vs.outinfo.export_prim_id) in gfx10_get_ngg_info()
2751 keys[MESA_SHADER_VERTEX].vs_common_out.export_prim_id = in radv_fill_shader_info()
2759 keys[MESA_SHADER_TESS_EVAL].vs_common_out.export_prim_id = in radv_fill_shader_info()
2774 keys[MESA_SHADER_VERTEX].vs_common_out.export_prim_id) { in radv_fill_shader_info()
4177 } else if (outinfo->export_prim_id || vs->info.uses_prim_id) { in radv_pipeline_generate_vgt_gs_mode()
4315 bool es_enable_prim_id = outinfo->export_prim_id || in radv_pipeline_generate_hw_ngg()
4363 S_028A84_NGG_DISABLE_PROVOK_REUSE(outinfo->export_prim_id)); in radv_pipeline_generate_hw_ngg()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp325 bool export_prim_id, bool export_clip_dists, in setup_vs_output_info() argument
353 if (export_prim_id) { in setup_vs_output_info()
377 setup_vs_output_info(ctx, nir, outinfo->export_prim_id, in setup_vs_variables()
390 if (ctx->stage == vertex_ngg && ctx->args->options->key.vs_common_out.export_prim_id) { in setup_vs_variables()
494 setup_vs_output_info(ctx, nir, outinfo->export_prim_id, in setup_tes_variables()
Daco_instruction_selection.cpp10241 if (outinfo->export_prim_id && ctx->stage.hw != HWStage::NGG) { in create_vs_exports()
11266 if (ctx->stage == vertex_ngg && ctx->args->options->key.vs_common_out.export_prim_id) { in ngg_nogs_export_primitives()
11288 if (ctx->args->options->key.vs_common_out.export_prim_id) { in ngg_nogs_export_vertices()