gallium/ntt: Fix dynamic indirect indexing of per_vertex_input.
authorEric Anholt <eric@anholt.net>
Tue, 22 Dec 2020 01:12:02 +0000 (17:12 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Jan 2021 23:05:48 +0000 (15:05 -0800)
commit9789417055f3aa8ba9f3417cabf58c526521b49f
treecd94b39f4567b5be808e739bcb8e4b6369a69462
parentec0bab8ca9eaed4648cf9e90398606fa4fc6e747
gallium/ntt: Fix dynamic indirect indexing of per_vertex_input.

It was off by one due to some copy and paste from UBO handling.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8196>
src/gallium/auxiliary/nir/nir_to_tgsi.c