Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c89 unsigned num_vertices_per_primitive; member
1643 unsigned total_prm_cnt = gs_vtx_cnt - gs_prm_cnt * (s->num_vertices_per_primitive - 1u); in ngg_gs_shader_query()
1649 if (s->num_vertices_per_primitive > 1) in ngg_gs_shader_query()
1650 …prm_cnt = nir_iadd(b, nir_imul_imm(b, prm_cnt, -1u * (s->num_vertices_per_primitive - 1)), gs_vtx_… in ngg_gs_shader_query()
1766 …mpletes_prim = nir_ige(b, current_vtx_per_prim, nir_imm_int(b, s->num_vertices_per_primitive - 1)); in lower_ngg_gs_emit_vertex_with_counter()
1769 if (s->num_vertices_per_primitive == 3) { in lower_ngg_gs_emit_vertex_with_counter()
1850 vtx_indices[s->num_vertices_per_primitive - 1] = exporter_tid_in_tg; in ngg_gs_export_primitives()
1851 if (s->num_vertices_per_primitive >= 2) in ngg_gs_export_primitives()
1852 …vtx_indices[s->num_vertices_per_primitive - 2] = nir_isub(b, exporter_tid_in_tg, nir_imm_int(b, 1)… in ngg_gs_export_primitives()
1853 if (s->num_vertices_per_primitive == 3) in ngg_gs_export_primitives()
[all …]
Dac_nir.h121 unsigned num_vertices_per_primitive,
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.h710 uint64_t ps_inputs_read, unsigned num_vertices_per_primitive,
Dradv_shader.c1216 unsigned num_vertices_per_primitive, const struct radv_shader_info *info) in radv_consider_culling() argument
1250 if (num_vertices_per_primitive != 3) in radv_consider_culling()