Searched refs:num_prm (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 2681 nir_ssa_def *num_prm = nir_read_first_invocation(b, loaded_num_prm); in set_nv_ms_final_output_counts() local 2683 num_prm = nir_umin(b, num_prm, nir_imm_int(b, b->shader->info.mesh.max_primitives_out)); in set_nv_ms_final_output_counts() 2686 num_vtx = nir_bcsel(b, nir_ieq_imm(b, num_prm, 0), nir_imm_int(b, 0), num_vtx); in set_nv_ms_final_output_counts() 2692 nir_alloc_vertices_and_primitives_amd(b, num_vtx, num_prm); in set_nv_ms_final_output_counts() 2696 *out_num_prm = num_prm; in set_nv_ms_final_output_counts() 2710 nir_ssa_def *num_prm; in emit_ms_finale() local 2713 set_nv_ms_final_output_counts(b, s, &num_prm, &num_vtx); in emit_ms_finale() 2736 nir_ssa_def *has_output_primitive = nir_ilt(b, invocation_index, num_prm); in emit_ms_finale()
|