Lines Matching refs:num_primitives
389 size_t num_primitives; in count_tessellated_primitives() local
392 num_primitives = count; in count_tessellated_primitives()
395 num_primitives = count >= 2 ? count - 1 : 0; in count_tessellated_primitives()
398 num_primitives = count >= 2 ? count : 0; in count_tessellated_primitives()
401 num_primitives = count / 2; in count_tessellated_primitives()
406 num_primitives = count >= 3 ? count - 2 : 0; in count_tessellated_primitives()
409 num_primitives = count / 3; in count_tessellated_primitives()
412 num_primitives = count >= 4 ? ((count / 2) - 1) * 2 : 0; in count_tessellated_primitives()
415 num_primitives = (count / 4) * 2; in count_tessellated_primitives()
418 num_primitives = count / 4; in count_tessellated_primitives()
421 num_primitives = count >= 4 ? count - 3 : 0; in count_tessellated_primitives()
424 num_primitives = count / 6; in count_tessellated_primitives()
427 num_primitives = count >= 6 ? (count - 4) / 2 : 0; in count_tessellated_primitives()
431 num_primitives = 0; in count_tessellated_primitives()
434 return num_primitives * num_instances; in count_tessellated_primitives()