freedreno/ir3: fix emit_tex_info split_dest
authorJonathan Marek <jonathan@marek.ca>
Tue, 14 Apr 2020 18:19:14 +0000 (14:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Apr 2020 19:12:47 +0000 (19:12 +0000)
commitaeb5b9cebf5c5fde2eed9be1d0ec64afd8aa8b6d
treee4cf92222979880d968e5e3a2cc70141c984eaf3
parentcb08f451d01571e0a570e99553624ae7b0d3d075
freedreno/ir3: fix emit_tex_info split_dest

Fixes a "free(): invalid next size (fast)" error in:

dEQP-VK.glsl.texture_functions.query.texturequerylevels.*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4557>
src/freedreno/ir3/ir3_compiler_nir.c