Lines Matching refs:num_primitives
107 size_t num_primitives; in vbo_count_tessellated_primitives() local
110 num_primitives = count; in vbo_count_tessellated_primitives()
113 num_primitives = count >= 2 ? count - 1 : 0; in vbo_count_tessellated_primitives()
116 num_primitives = count >= 2 ? count : 0; in vbo_count_tessellated_primitives()
119 num_primitives = count / 2; in vbo_count_tessellated_primitives()
124 num_primitives = count >= 3 ? count - 2 : 0; in vbo_count_tessellated_primitives()
127 num_primitives = count / 3; in vbo_count_tessellated_primitives()
130 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in vbo_count_tessellated_primitives()
133 num_primitives = (count / 4) * 2; in vbo_count_tessellated_primitives()
136 num_primitives = count / 4; in vbo_count_tessellated_primitives()
139 num_primitives = count >= 4 ? count - 3 : 0; in vbo_count_tessellated_primitives()
142 num_primitives = count / 6; in vbo_count_tessellated_primitives()
145 num_primitives = count >= 6 ? (count - 4) / 2 : 0; in vbo_count_tessellated_primitives()
149 num_primitives = 0; in vbo_count_tessellated_primitives()
152 return num_primitives * num_instances; in vbo_count_tessellated_primitives()