From: Bas Nieuwenhuizen Date: Thu, 30 May 2019 20:48:46 +0000 (+0200) Subject: nir: Actually propagate progress in nir_opt_move_load_ubo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e24a7840f60ac2290761ea2dc2831e8c3ba8bbfc;p=mesa.git 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 Reviewed-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- 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