ac/llvm,radeonsi: lower txf offset in nir
authorQiang Yu <yuq825@gmail.com>
Sat, 15 Apr 2023 08:10:57 +0000 (16:10 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 15 May 2023 02:01:10 +0000 (02:01 +0000)
commit3fae161ff2266e9d6e28e5d63bc4f10f8170063f
tree9c4659171b26000952dbd23555f1162d6294795f
parentf13f9044db26878ac77b4f760272115fac0f424e
ac/llvm,radeonsi: lower txf offset in nir

aco will complain if txf has offset. Not if other
texture ops.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22573>
src/amd/llvm/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader_nir.c