Searched refs:prim_cnt (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_gs_intrinsics.c | 191 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in overwrite_incomplete_primitives() local 193 nir_isub(b, prim_cnt, num_inc_prim), in overwrite_incomplete_primitives() 223 nir_ssa_def *prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in rewrite_end_primitive() local 225 nir_iadd_imm(b, prim_cnt, 1), in rewrite_end_primitive() 293 nir_ssa_def *prim_cnt; in append_set_vertex_and_primitive_count() local 298 prim_cnt = state->count_prims || state->is_points in append_set_vertex_and_primitive_count() 308 prim_cnt = nir_load_var(b, state->primitive_count_vars[stream]); in append_set_vertex_and_primitive_count() 313 prim_cnt = vtx_cnt; in append_set_vertex_and_primitive_count() 315 prim_cnt = nir_ssa_undef(b, 1, 32); in append_set_vertex_and_primitive_count() 318 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 | 1323 nir_ssa_def *prim_cnt = nir_load_workgroup_num_input_primitives_amd(b); in add_deferred_attribute_culling() local 1324 nir_alloc_vertices_and_primitives_amd(b, vtx_cnt, prim_cnt); in add_deferred_attribute_culling() 1441 nir_ssa_def *prim_cnt = nir_load_workgroup_num_input_primitives_amd(b); in ac_nir_lower_ngg_nogs() local 1442 nir_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 | 563 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt);
|
D | ac_llvm_build.c | 4384 LLVMValueRef vtx_cnt, LLVMValueRef prim_cnt) in ac_build_sendmsg_gs_alloc_req() argument 4394 if (prim_cnt == ctx->i32_0 && ctx->gfx_level == GFX10) { in ac_build_sendmsg_gs_alloc_req() 4396 prim_cnt = ctx->i32_1; in ac_build_sendmsg_gs_alloc_req() 4404 tmp = LLVMBuildShl(builder, prim_cnt, LLVMConstInt(ctx->i32, 12, false), ""); in ac_build_sendmsg_gs_alloc_req()
|