r600/sfn: Fix using the result of a fetch instruction in next fetch
authorGert Wollny <gert.wollny@collabora.com>
Sun, 12 Apr 2020 14:51:07 +0000 (16:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 21 Apr 2020 15:10:43 +0000 (15:10 +0000)
commit9c7ce4d76e7b772e9d51dda2532a94d69bd4bee1
tree5ac0f460d8b82ed1b7f14b5e1577531c279ece0d
parent67495ff9aa6bed9bce37a064b33ef561809fc35c
r600/sfn: Fix using the result of a fetch instruction in next fetch

The result of a fetch instruction can't be used as source in the same CF
block, so force a new CF block when the result would be used in the same
vertex fetch block.

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