From 9a72696e025fb357dca644a0cddd76aa3664e519 Mon Sep 17 00:00:00 2001 From: Anna Maniscalco Date: Mon, 17 Nov 2025 23:20:52 +0100 Subject: [PATCH] nir/lower_tex: copy `is_sparse` when lowering txd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Emma Anholt Reviewed-by: Timur Kristóf Part-of: --- src/compiler/nir/nir_lower_tex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_lower_tex.c b/src/compiler/nir/nir_lower_tex.c index d16f647cf1f..b18d675e8aa 100644 --- a/src/compiler/nir/nir_lower_tex.c +++ b/src/compiler/nir/nir_lower_tex.c @@ -942,6 +942,7 @@ lower_tex_to_txd(nir_builder *b, nir_tex_instr *tex) txd->is_array = tex->is_array; txd->is_shadow = tex->is_shadow; txd->is_new_style_shadow = tex->is_new_style_shadow; + txd->is_sparse = tex->is_sparse; txd->can_speculate = tex->can_speculate; /* reuse existing srcs */ @@ -984,6 +985,7 @@ lower_txb_to_txl(nir_builder *b, nir_tex_instr *tex) txl->is_array = tex->is_array; txl->is_shadow = tex->is_shadow; txl->is_new_style_shadow = tex->is_new_style_shadow; + txl->is_sparse = tex->is_sparse; txl->can_speculate = tex->can_speculate; /* reuse all but bias src */