mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
anv: retain the is_array state in create_plane_tex_instr_implicit
This does not seem to fix anything ATM but is the right thing todo.
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Fixes: f3e91e78a3 ("anv: add nir lowering pass for ycbcr textures")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
e1ee4ab3dc
commit
33bf3d510c
1 changed files with 1 additions and 0 deletions
|
|
@ -269,6 +269,7 @@ create_plane_tex_instr_implicit(struct ycbcr_state *state,
|
|||
tex->texture_index = old_tex->texture_index;
|
||||
tex->texture_array_size = old_tex->texture_array_size;
|
||||
tex->sampler_index = old_tex->sampler_index;
|
||||
tex->is_array = old_tex->is_array;
|
||||
|
||||
nir_ssa_dest_init(&tex->instr, &tex->dest,
|
||||
old_tex->dest.ssa.num_components,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue