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.c398 size_t num_primitives; in count_tessellated_primitives() local
401 num_primitives = count; in count_tessellated_primitives()
404 num_primitives = count >= 2 ? count - 1 : 0; in count_tessellated_primitives()
407 num_primitives = count >= 2 ? count : 0; in count_tessellated_primitives()
410 num_primitives = count / 2; in count_tessellated_primitives()
415 num_primitives = count >= 3 ? count - 2 : 0; in count_tessellated_primitives()
418 num_primitives = count / 3; in count_tessellated_primitives()
421 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in count_tessellated_primitives()
424 num_primitives = (count / 4) * 2; in count_tessellated_primitives()
427 num_primitives = count / 4; in count_tessellated_primitives()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.h118 unsigned num_primitives,
Ddraw_gs.c80 unsigned num_primitives, in tgsi_fetch_gs_outputs() argument
92 for (prim_idx = 0; prim_idx < num_primitives; ++prim_idx) { in tgsi_fetch_gs_outputs()
121 shader->stream[stream].emitted_primitives += num_primitives; in tgsi_fetch_gs_outputs()
301 unsigned num_primitives, in llvm_fetch_gs_outputs() argument
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1334 LLVMValueRef num_primitives = ngg_get_prim_cnt(ctx); in gfx10_ngg_culling_build_end() local
1335 num_primitives = LLVMBuildSelect(builder, in gfx10_ngg_culling_build_end()
1338 ctx->ac.i32_0, num_primitives, ""); in gfx10_ngg_culling_build_end()
1341 ac_build_imax(&ctx->ac, new_num_es_threads, num_primitives), in gfx10_ngg_culling_build_end()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp9221 Temp num_primitives = get_ssa_temp(ctx, instr->src[1].ssa); in visit_intrinsic() local
9222 ngg_emit_sendmsg_gs_alloc_req(ctx, num_vertices, num_primitives); in visit_intrinsic()