Lines Matching refs:num_primitives
859 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()
891 num_primitives = count >= 4 ? count - 3 : 0; in count_tessellated_primitives()
894 num_primitives = count / 6; in count_tessellated_primitives()
897 num_primitives = count >= 6 ? (count - 4) / 2 : 0; in count_tessellated_primitives()
901 num_primitives = 0; in count_tessellated_primitives()
904 return num_primitives * num_instances; in count_tessellated_primitives()