nir: Add a helper for getting the alignment of a deref
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 24 Aug 2020 15:48:51 +0000 (10:48 -0500)
committerMarge Bot <eric+marge@anholt.net>
Thu, 3 Sep 2020 18:02:50 +0000 (18:02 +0000)
commit480329cf8b319983ee96f2b57bd2648be19e5570
tree4076be03bf5e2b62dca054ea1f9a92270d526d47
parent0654a9e82307b854824fc1092a8b79632a2703c0
nir: Add a helper for getting the alignment of a deref

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6472>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io.c