Searched refs:num_primitives (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | draw.c | 398 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/ |
D | draw_gs.h | 118 unsigned num_primitives,
|
D | draw_gs.c | 80 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/ |
D | gfx10_shader_ngg.c | 1334 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/ |
D | aco_instruction_selection.cpp | 9221 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()
|