From: Samuel Pitoiset Date: Wed, 22 Jun 2022 07:13:46 +0000 (+0200) Subject: nir/lower_io: add nir_intrinsic_load_input_vertex to is_input() X-Git-Tag: upstream/23.3.3~7676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b213254c98ff2abc365090c9ca094ee9cb81373;p=platform%2Fupstream%2Fmesa.git nir/lower_io: add nir_intrinsic_load_input_vertex to is_input() To add the const offset to the base index. Signed-off-by: Samuel Pitoiset Reviewed-by: Alyssa Rosenzweig Reviewed-by: Rhys Perry Part-of: --- diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c index a9856e4..4e8e49b 100644 --- a/src/compiler/nir/nir_lower_io.c +++ b/src/compiler/nir/nir_lower_io.c @@ -2778,6 +2778,7 @@ static bool is_input(nir_intrinsic_instr *intrin) { return intrin->intrinsic == nir_intrinsic_load_input || + intrin->intrinsic == nir_intrinsic_load_input_vertex || intrin->intrinsic == nir_intrinsic_load_per_vertex_input || intrin->intrinsic == nir_intrinsic_load_interpolated_input || intrin->intrinsic == nir_intrinsic_load_fs_input_interp_deltas;