Home
last modified time | relevance | path

Searched refs:prm_cnt (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1648 nir_ssa_def *prm_cnt = intrin->src[1].ssa; in ngg_gs_shader_query() local
1650prm_cnt = nir_iadd(b, nir_imul_imm(b, prm_cnt, -1u * (s->num_vertices_per_primitive - 1)), gs_vtx_… in ngg_gs_shader_query()
1651 num_prims_in_wave = nir_reduce(b, prm_cnt, .reduction_op = nir_op_iadd); in ngg_gs_shader_query()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8225 void ngg_emit_sendmsg_gs_alloc_req(isel_context* ctx, Temp vtx_cnt, Temp prm_cnt);
11844 ngg_emit_sendmsg_gs_alloc_req(isel_context* ctx, Temp vtx_cnt, Temp prm_cnt) in ngg_emit_sendmsg_gs_alloc_req() argument
11846 assert(vtx_cnt.id() && prm_cnt.id()); in ngg_emit_sendmsg_gs_alloc_req()
11856 prm_cnt_0 = bld.sopc(aco_opcode::s_cmp_eq_u32, bld.def(s1, scc), prm_cnt, Operand::zero()); in ngg_emit_sendmsg_gs_alloc_req()
11857 prm_cnt = bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), Operand::c32(1u), prm_cnt, in ngg_emit_sendmsg_gs_alloc_req()
11865 bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.def(s1, scc), prm_cnt, Operand::c32(12u)); in ngg_emit_sendmsg_gs_alloc_req()