Home
last modified time | relevance | path

Searched refs:prim_cnt (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_gs_intrinsics.c194 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in overwrite_incomplete_primitives() local
196 nir_isub(b, prim_cnt, num_inc_prim), in overwrite_incomplete_primitives()
230 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in rewrite_end_primitive() local
232 nir_iadd_imm(b, prim_cnt, 1), in rewrite_end_primitive()
298 nir_ssa_def *prim_cnt; in append_set_vertex_and_primitive_count() local
303 prim_cnt = state->count_prims in append_set_vertex_and_primitive_count()
311 prim_cnt = state->count_prims in append_set_vertex_and_primitive_count()
322 set_cnt_intrin->src[1] = nir_src_for_ssa(prim_cnt); in append_set_vertex_and_primitive_count()
/external/mesa3d/src/amd/llvm/
Dac_llvm_build.h563 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt);
Dac_llvm_build.c4465 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt) in ac_build_sendmsg_gs_alloc_req() argument
4475 if (prim_cnt == ctx->i32_0 && ctx->chip_class == GFX10) { in ac_build_sendmsg_gs_alloc_req()
4477 prim_cnt = ctx->i32_1; in ac_build_sendmsg_gs_alloc_req()
4484 tmp = LLVMBuildShl(builder, prim_cnt, LLVMConstInt(ctx->i32, 12, false), ""); in ac_build_sendmsg_gs_alloc_req()