diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-05-30 22:48:46 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-06-03 08:15:53 +0000 |
commit | b2c5c1666870d23df395e97642e67be57fe4f4de (patch) | |
tree | daa9cc67491a56aa07652620d1298dc3a800f5ba /src/compiler/nir | |
parent | fecdcce09cb9ddf70fb4d7b89b8a117a0620d575 (diff) |
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 <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
(cherry picked from commit e24a7840f60ac2290761ea2dc2831e8c3ba8bbfc)
Diffstat (limited to 'src/compiler/nir')
-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 |