nir: Document a bit about how align_mul/offset work.
authorEric Anholt <eric@anholt.net>
Tue, 8 Sep 2020 20:07:56 +0000 (13:07 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 30 Sep 2020 19:53:43 +0000 (19:53 +0000)
commit6c1c5714409c1e49f941289396cc5112da95dad9
tree447853f276d5c5a8ce91de507187224883fa5f2b
parentbd60e31c837b9c8ed48f6b4db0b93b14ab46135e
nir: Document a bit about how align_mul/offset work.

Introduces a #define for the maximum valid align_mul that's used in the
load_store_vectorizer tests (currently, though it will be used more soon).

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6612>
src/compiler/nir/nir.h
src/compiler/nir/tests/load_store_vectorizer_tests.cpp