zink: add some asserts for building access chains in ntv
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 26 Jun 2020 19:14:20 +0000 (15:14 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 14:01:29 +0000 (14:01 +0000)
commit0ef5e19874ba21f268c5ffdfff0b2819056ba51a
treed9ee69e7f81e7d28162bbc32975a70330e3a8211
parent2af22051c09eaef0f266d07269113e0122763792
zink: add some asserts for building access chains in ntv

we're never going to pass a 0 here, and it's going to be an error if we do

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5911>
src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c