Lines Matching refs:num_primitives
87 size_t num_primitives; in vbo_count_tessellated_primitives() local
90 num_primitives = count; in vbo_count_tessellated_primitives()
93 num_primitives = count >= 2 ? count - 1 : 0; in vbo_count_tessellated_primitives()
96 num_primitives = count >= 2 ? count : 0; in vbo_count_tessellated_primitives()
99 num_primitives = count / 2; in vbo_count_tessellated_primitives()
104 num_primitives = count >= 3 ? count - 2 : 0; in vbo_count_tessellated_primitives()
107 num_primitives = count / 3; in vbo_count_tessellated_primitives()
110 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in vbo_count_tessellated_primitives()
113 num_primitives = (count / 4) * 2; in vbo_count_tessellated_primitives()
116 num_primitives = count / 4; in vbo_count_tessellated_primitives()
119 num_primitives = count >= 4 ? count - 3 : 0; in vbo_count_tessellated_primitives()
122 num_primitives = count / 6; in vbo_count_tessellated_primitives()
125 num_primitives = count >= 6 ? (count - 4) / 2 : 0; in vbo_count_tessellated_primitives()
129 num_primitives = 0; in vbo_count_tessellated_primitives()
132 return num_primitives * num_instances; in vbo_count_tessellated_primitives()