pan/bi: Add validation for nr_srcs/nr_dests
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 15:53:23 +0000 (11:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit662b866e1bfc5fc244a6531cca2e47f2df9eea9b
tree2de2a635c2330203185e281666085f10a5f21fa5
parent63051b68d7bb41eb7bda52eb7595027d9ed23952
pan/bi: Add validation for nr_srcs/nr_dests

Now that we set nr_srcs/nr_dests accurately, assert as much in the validator.
This pass will be deleted later in the series, but having it here is expected to
be useful for bisection, in case there are cases missed. Certainly running the
CTS at this point in the series is helpful to prove completeness of the
beginning of this series.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_validate.c