lavapipe: more correctly handle null pipeline states
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 31 Mar 2023 12:39:04 +0000 (08:39 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 May 2023 23:51:21 +0000 (23:51 +0000)
commitfef493f745da9304da8f750788e498e1f4f31206
tree33c5bd7bdf92f1cf537762a721531c49243c7329
parent0f510040dcb23905eac6e8ec86a56ab28c5a097a
lavapipe: more correctly handle null pipeline states

it's not necessary to check whether dynamic states are set before
the null checks since any issues there would be VU errors

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22236>
src/gallium/frontends/lavapipe/lvp_pipeline.c