Re: [Mesa-dev] [PATCH 11/22] nir: simplify get_io_offset() parameters

2018-11-14 Thread Erik Faye-Lund
On Tue, 2018-11-13 at 16:48 +0100, Karol Herbst wrote: > From: Rob Clark > > For pointers we'll need to add another caller, plus in addition a > type_align() fxn ptr. So just simplify things and pass the > lower_io_state to get_io_offset(). > > Signed-off-by: Karol Herbst Reviewed-by: Erik

[Mesa-dev] [PATCH 11/22] nir: simplify get_io_offset() parameters

2018-11-13 Thread Karol Herbst
From: Rob Clark For pointers we'll need to add another caller, plus in addition a type_align() fxn ptr. So just simplify things and pass the lower_io_state to get_io_offset(). Signed-off-by: Karol Herbst --- src/compiler/nir/nir_lower_io.c | 12 ++-- 1 file changed, 6 insertions(+),