From 70723f278f9e2c8e2bfbbf104c52f26017fd8318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=9Alusarz?= Date: Tue, 10 Aug 2021 12:59:29 +0200 Subject: [PATCH] microsoft/clc: preserve only valid metadata in clc_lower_printf_base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Ĺšlusarz Reviewed-by: Jesse Natalie Part-of: --- src/microsoft/clc/clc_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microsoft/clc/clc_nir.c b/src/microsoft/clc/clc_nir.c index 7d37e2a72c7..dcb3994356e 100644 --- a/src/microsoft/clc/clc_nir.c +++ b/src/microsoft/clc/clc_nir.c @@ -273,6 +273,7 @@ clc_lower_printf_base(nir_shader *nir, unsigned uav_id) printf_deref = &deref->dest.ssa; } nir_ssa_def_rewrite_uses(&intrin->dest.ssa, printf_deref); + progress = true; } }