From: Neil Roberts Date: Tue, 16 Jun 2020 17:22:47 +0000 (+0200) Subject: nir/scheduler: Handle nir_intrinsic_load_per_vertex_input X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=df8dc30cea76179c7bca510ed48dff938982be8b nir/scheduler: Handle nir_intrinsic_load_per_vertex_input 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: --- 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;