nir/lower_io: change nir_io_add_const_offset_to_base to use bitfield modes
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Sep 2020 11:13:49 +0000 (13:13 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Sep 2020 09:40:21 +0000 (09:40 +0000)
commita0e35c7562e1927cd92d4bf82ade8843aeac5dff
treedb637d099db28ef9cf2d991839a19d0da85da9fd
parent7685c37bf47104497d70c4580abb9e050ea8100f
nir/lower_io: change nir_io_add_const_offset_to_base to use bitfield modes

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6890>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_io.c