From: Marek Olšák Date: Thu, 13 Aug 2020 15:53:17 +0000 (-0400) Subject: nir: handle load_input_vertex in nir_get_io_offset_src X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a012f429dea68af4c4941ab8004271bc8ff18f3;p=mesa.git nir: handle load_input_vertex in nir_get_io_offset_src Reviewed-by: Jason Ekstrand Part-of: --- diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c index 58c4597c27e..fd5a713349e 100644 --- a/src/compiler/nir/nir_lower_io.c +++ b/src/compiler/nir/nir_lower_io.c @@ -1553,6 +1553,7 @@ nir_get_io_offset_src(nir_intrinsic_instr *instr) return &instr->src[0]; case nir_intrinsic_load_ubo: case nir_intrinsic_load_ssbo: + case nir_intrinsic_load_input_vertex: case nir_intrinsic_load_per_vertex_input: case nir_intrinsic_load_per_vertex_output: case nir_intrinsic_load_interpolated_input: