diff options
author | Rhys Perry <[email protected]> | 2019-10-14 17:15:37 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-01-14 13:56:45 +0000 |
commit | 04fac72ec77f9a19e56ec95f7a0b857f85438ab3 (patch) | |
tree | 9b123d413e457fa5948668a18a41efe573813a33 | |
parent | 22d976454f4e50142116f4544c0bbf11134ce991 (diff) |
nir/sink,nir/move: move/sink load_per_vertex_input
Signed-off-by: Rhys Perry <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Acked-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2420>
-rw-r--r-- | src/compiler/nir/nir_opt_sink.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_sink.c b/src/compiler/nir/nir_opt_sink.c index 0095a333a29..e68ad9cd607 100644 --- a/src/compiler/nir/nir_opt_sink.c +++ b/src/compiler/nir/nir_opt_sink.c @@ -50,7 +50,8 @@ nir_can_move_instr(nir_instr *instr, nir_move_options options) if ((options & nir_move_load_input) && (intrin->intrinsic == nir_intrinsic_load_interpolated_input || - intrin->intrinsic == nir_intrinsic_load_input)) + intrin->intrinsic == nir_intrinsic_load_input || + intrin->intrinsic == nir_intrinsic_load_per_vertex_input)) return true; } |