From df8dc30cea76179c7bca510ed48dff938982be8b Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 16 Jun 2020 19:22:47 +0200 Subject: [PATCH] nir/scheduler: Handle nir_intrinsic_load_per_vertex_input MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit load_per_vertex_input should probably be handled in the same way as a regular load_input. I think the nir_schedule pass was written before V3D had geometry shader support, so that is probably why it hasn’t taken this into account until now. Reviewed-by: Eric Anholt Reviewed-by: Iago Toral Quiroga Part-of: --- src/compiler/nir/nir_schedule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_schedule.c b/src/compiler/nir/nir_schedule.c index 8428f867ccc..8d42585ac6f 100644 --- a/src/compiler/nir/nir_schedule.c +++ b/src/compiler/nir/nir_schedule.c @@ -333,6 +333,7 @@ nir_schedule_intrinsic_deps(nir_deps_state *state, break; case nir_intrinsic_load_input: + case nir_intrinsic_load_per_vertex_input: add_read_dep(state, state->load_input, n); break; -- 2.30.2