r600/sfn: Lower tex,txl,txb and txf to backend
authorGert Wollny <gert.wollny@collabora.com>
Mon, 5 Sep 2022 07:21:38 +0000 (09:21 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 16 Sep 2022 15:43:08 +0000 (15:43 +0000)
commit02bb506c54f998cfbc907758282a5748755c67ea
tree5bec4a00eca7e5ac4651636b240b0f208ca1acee
parenta6483f043440d4a531592fb121e77316df09c2cf
r600/sfn: Lower tex,txl,txb and txf to backend

This cleans up the texture code a bit and also gives
more opportunities for optimization in NIR.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18619>
src/gallium/drivers/r600/sfn/sfn_instr_tex.cpp
src/gallium/drivers/r600/sfn/sfn_instr_tex.h
src/gallium/drivers/r600/sfn/sfn_nir.cpp