Searched refs:prim_cnt (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_gs_intrinsics.c | 188 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in overwrite_incomplete_primitives() local 190 nir_isub(b, prim_cnt, num_inc_prim), in overwrite_incomplete_primitives() 218 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in rewrite_end_primitive() local 220 nir_iadd_imm(b, prim_cnt, 1), in rewrite_end_primitive() 288 nir_ssa_def *prim_cnt; in append_set_vertex_and_primitive_count() local 293 prim_cnt = state->count_prims in append_set_vertex_and_primitive_count() 301 prim_cnt = state->count_prims in append_set_vertex_and_primitive_count() 306 nir_set_vertex_and_primitive_count(b, vtx_cnt, prim_cnt, stream); in append_set_vertex_and_primitive_count()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_ngg.c | 1225 nir_ssa_def *prim_cnt = nir_build_load_workgroup_num_input_primitives_amd(b); in add_deferred_attribute_culling() local 1226 nir_build_alloc_vertices_and_primitives_amd(b, vtx_cnt, prim_cnt); in add_deferred_attribute_culling() 1328 nir_ssa_def *prim_cnt = nir_build_load_workgroup_num_input_primitives_amd(b); in ac_nir_lower_ngg_nogs() local 1329 nir_build_alloc_vertices_and_primitives_amd(b, vtx_cnt, prim_cnt); in ac_nir_lower_ngg_nogs()
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.h | 580 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt);
|
D | ac_llvm_build.c | 4558 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt) in ac_build_sendmsg_gs_alloc_req() argument 4568 if (prim_cnt == ctx->i32_0 && ctx->chip_class == GFX10) { in ac_build_sendmsg_gs_alloc_req() 4570 prim_cnt = ctx->i32_1; in ac_build_sendmsg_gs_alloc_req() 4577 tmp = LLVMBuildShl(builder, prim_cnt, LLVMConstInt(ctx->i32, 12, false), ""); in ac_build_sendmsg_gs_alloc_req()
|