lavapipe: check all vertex-stages
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 12 Apr 2021 15:16:12 +0000 (17:16 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 14 Apr 2021 09:17:00 +0000 (09:17 +0000)
commitd91a549b67f3a13c4763d82e333e50395c300507
tree164e2694d21e9d213526cd7f44d953e5c347faae
parent83de54f6a60502b9adfba4194de36616da49a2ad
lavapipe: check all vertex-stages

We should really check for the minimum of all supported vertex-stages
here, not just the vertex-shader.

This shouldn't make any real-world difference, because we really only
support LLVMpipe here, and that driver has the same limits for all
stages. But it seems better to actually check all stages instead of just
assuming.

Fixes: b38879f8c5f ("vallium: initial import of the vulkan frontend")
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10189>
src/gallium/frontends/lavapipe/lvp_device.c