diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-05-30 22:48:46 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-31 08:58:31 -0700 |
commit | 96788ffcec871bb22c2d3d8681a2c82aebb4f62a (patch) | |
tree | a819ef76c1a389abbaeef890f24a23a616df21a6 | |
parent | 279b31bc35d2cd923fd7d032347c45129e7dd3b6 (diff) | |
download | mesa-96788ffcec871bb22c2d3d8681a2c82aebb4f62a.tar.gz |
nir: Actually propagate progress in nir_opt_move_load_ubo.
Found with Jasons new metadata rework (https://gitlab.freedesktop.org/mesa/mesa/merge_requests/950).
Fixes: af355aaa071 "nir: add nir_opt_move_load_ubo() optimization pass"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit e24a7840f60ac2290761ea2dc2831e8c3ba8bbfc)
-rw-r--r-- | src/compiler/nir/nir_opt_move_load_ubo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_move_load_ubo.c b/src/compiler/nir/nir_opt_move_load_ubo.c index a32f1704427..f36a62a5308 100644 --- a/src/compiler/nir/nir_opt_move_load_ubo.c +++ b/src/compiler/nir/nir_opt_move_load_ubo.c @@ -91,7 +91,7 @@ move_load_ubo(nir_block *block) } } - return false; + return progress; } bool |