2805804dce
We don't need to pass the vertex count around on Bifrost/Valhall, since the tiler descriptor is generated outside of emit_fbd() on those gens. Let's move vertex_count under the midgard struct to make that clear. This implies maintaining a vertex_count at the panfrost_batch level in the gallium driver, but that's fine. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Rebecca Mckeever <rebecca.mckeever@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: John Anthony <john.anthony@arm.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30969>