nir/lower_tex: copy is_sparse when lowering txd

Reviewed-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38497>
This commit is contained in:
Anna Maniscalco
2025-11-17 23:20:52 +01:00
committed by Marge Bot
parent 1243d575a5
commit 9a72696e02
+2
View File
@@ -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 */