mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 22:40:34 +01:00
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:
parent
1243d575a5
commit
9a72696e02
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue