Hi list, This patch series attemps to clean up u_prim.h, with an exception that a new function to get the tessellated (as opposed to decomposed) primitive count is added by the last patch. I need that function for ilo to update PIPE_QUERY_PRIMITIVES_GENERATED.