Searched refs:num_primitives (Results 1 – 2 of 2) sorted by relevance
110 size_t num_primitives; in count_tessellated_primitives() local113 num_primitives = prim->count; in count_tessellated_primitives()116 num_primitives = prim->count >= 2 ? prim->count - 1 : 0; in count_tessellated_primitives()119 num_primitives = prim->count >= 2 ? prim->count : 0; in count_tessellated_primitives()122 num_primitives = prim->count / 2; in count_tessellated_primitives()127 num_primitives = prim->count >= 3 ? prim->count - 2 : 0; in count_tessellated_primitives()130 num_primitives = prim->count / 3; in count_tessellated_primitives()133 num_primitives = prim->count >= 4 ? ((prim->count / 2) - 1) * 2 : 0; in count_tessellated_primitives()136 num_primitives = (prim->count / 4) * 2; in count_tessellated_primitives()140 num_primitives = 0; in count_tessellated_primitives()[all …]
165 int num_primitives, in draw_geometry_fetch_outputs() argument177 for (prim_idx = 0; prim_idx < num_primitives; ++prim_idx) { in draw_geometry_fetch_outputs()206 shader->emitted_primitives += num_primitives; in draw_geometry_fetch_outputs()