nir/lower_tex: copy missing fields when creating copy of tex instruction
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Jun 2023 08:27:57 +0000 (10:27 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 19 Jun 2023 08:13:06 +0000 (08:13 +0000)
commit65353814a395b97a5a472d5eaea6383f4eea6fa3
treeb4a817ad43ca87e9cc3bed6958074c894f8d1335
parent320884453904890771b68b945ed000fb1a794fa2
nir/lower_tex: copy missing fields when creating copy of tex instruction

This is missing both texture and sampler indices.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23616>
src/compiler/nir/nir_lower_tex.c