Home
last modified time | relevance | path

Searched refs:num_primitives (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Ddraw.c389 size_t num_primitives; in count_tessellated_primitives() local
392 num_primitives = count; in count_tessellated_primitives()
395 num_primitives = count >= 2 ? count - 1 : 0; in count_tessellated_primitives()
398 num_primitives = count >= 2 ? count : 0; in count_tessellated_primitives()
401 num_primitives = count / 2; in count_tessellated_primitives()
406 num_primitives = count >= 3 ? count - 2 : 0; in count_tessellated_primitives()
409 num_primitives = count / 3; in count_tessellated_primitives()
412 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in count_tessellated_primitives()
415 num_primitives = (count / 4) * 2; in count_tessellated_primitives()
418 num_primitives = count / 4; in count_tessellated_primitives()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.h118 unsigned num_primitives,
Ddraw_gs.c79 unsigned num_primitives, in tgsi_fetch_gs_outputs() argument
91 for (prim_idx = 0; prim_idx < num_primitives; ++prim_idx) { in tgsi_fetch_gs_outputs()
120 shader->stream[stream].emitted_primitives += num_primitives; in tgsi_fetch_gs_outputs()
300 unsigned num_primitives, in llvm_fetch_gs_outputs() argument
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1120 LLVMValueRef num_primitives = ngg_get_prim_cnt(ctx); in gfx10_emit_ngg_culling_epilogue() local
1121 num_primitives = LLVMBuildSelect(builder, in gfx10_emit_ngg_culling_epilogue()
1124 ctx->ac.i32_0, num_primitives, ""); in gfx10_emit_ngg_culling_epilogue()
1127 ac_build_imax(&ctx->ac, new_num_es_threads, num_primitives), in gfx10_emit_ngg_culling_epilogue()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8918 Temp num_primitives = get_ssa_temp(ctx, instr->src[1].ssa); in visit_intrinsic() local
8919 ngg_emit_sendmsg_gs_alloc_req(ctx, num_vertices, num_primitives); in visit_intrinsic()