mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
nir/lower_tex: fix lowering 16bit textureGatherOffsets
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40685>
This commit is contained in:
parent
bf8862b49f
commit
027503cac2
1 changed files with 1 additions and 1 deletions
|
|
@ -1211,7 +1211,7 @@ lower_tg4_offsets(nir_builder *b, nir_tex_instr *tex)
|
|||
tex_copy->src[tex_copy->num_srcs - 1] = src;
|
||||
|
||||
nir_def_init(&tex_copy->instr, &tex_copy->def,
|
||||
nir_tex_instr_dest_size(tex), 32);
|
||||
nir_tex_instr_dest_size(tex), tex->def.bit_size);
|
||||
|
||||
nir_builder_instr_insert(b, &tex_copy->instr);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue