r600/sfn: emit texture instructions in one block
authorGert Wollny <gert.wollny@collabora.com>
Sun, 5 Jul 2020 14:39:09 +0000 (16:39 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 09:32:51 +0000 (09:32 +0000)
commit258618815b41ed3364b8ad74a52786b1f10fbc3f
tree784a2a071bafed68ecab9ec088e223648cd32117
parentdeccf0224648f868fae9a6aba1883b571cad1af6
r600/sfn: emit texture instructions in one block

Setting the offset must happen in the same CF like using it, so don't
emit ALU instruction between the tex instructions.

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