Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Ddraw_validate.c859 size_t num_primitives; in count_tessellated_primitives() local
862 num_primitives = count; in count_tessellated_primitives()
865 num_primitives = count >= 2 ? count - 1 : 0; in count_tessellated_primitives()
868 num_primitives = count >= 2 ? count : 0; in count_tessellated_primitives()
871 num_primitives = count / 2; in count_tessellated_primitives()
876 num_primitives = count >= 3 ? count - 2 : 0; in count_tessellated_primitives()
879 num_primitives = count / 3; in count_tessellated_primitives()
882 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in count_tessellated_primitives()
885 num_primitives = (count / 4) * 2; in count_tessellated_primitives()
888 num_primitives = count / 4; in count_tessellated_primitives()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.h117 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()
322 unsigned num_primitives, in llvm_fetch_gs_outputs() argument