Home
last modified time | relevance | path

Searched refs:uses_prim_id (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c1710 vgpr_comp_cnt = info->uses_prim_id ? 3 : 2; in radv_postprocess_config()
1714 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1829 bool enable_prim_id = info->tes.outinfo.export_prim_id || info->uses_prim_id; in radv_postprocess_config()
1853 } else if (info->uses_prim_id || (es_stage == MESA_SHADER_VERTEX && in radv_postprocess_config()
1883 es_vgpr_comp_cnt = info->uses_prim_id ? 3 : 2; in radv_postprocess_config()
1893 } else if (info->uses_prim_id) { in radv_postprocess_config()
Dradv_shader.h249 bool uses_prim_id; member
Dradv_pipeline.c1423 …pipeline, MESA_SHADER_GEOMETRY) && pipeline->base.shaders[MESA_SHADER_GEOMETRY]->info.uses_prim_id) in radv_compute_ia_multi_vgt_param_helpers()
1427 if (pipeline->base.shaders[MESA_SHADER_TESS_CTRL]->info.uses_prim_id || in radv_compute_ia_multi_vgt_param_helpers()
1428 radv_get_shader(&pipeline->base, MESA_SHADER_TESS_EVAL)->info.uses_prim_id) in radv_compute_ia_multi_vgt_param_helpers()
5637 } else if (outinfo->export_prim_id || vs->info.uses_prim_id) { in radv_pipeline_emit_vgt_gs_mode()
5785 bool es_enable_prim_id = outinfo->export_prim_id || (es && es->info.uses_prim_id); in radv_pipeline_emit_hw_ngg()
5792 if (es_enable_prim_id || (gs && gs->info.uses_prim_id)) in radv_pipeline_emit_hw_ngg()
6573 if (pipeline->base.shaders[MESA_SHADER_TESS_CTRL]->info.uses_prim_id || in gfx10_pipeline_emit_ge_cntl()
6574 radv_get_shader(&pipeline->base, MESA_SHADER_TESS_EVAL)->info.uses_prim_id) in gfx10_pipeline_emit_ge_cntl()
Dradv_shader_info.c594 info->uses_prim_id |= BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_PRIMITIVE_ID); in radv_nir_shader_info_pass()