aco: fix combine_salu_not_bitwise() when SCC is used
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 28 Jan 2020 11:32:09 +0000 (12:32 +0100)
committerDaniel Schürmann <daniel@schuermann.dev>
Tue, 28 Jan 2020 17:14:02 +0000 (18:14 +0100)
commit396be00640eec91191085f0d293957a35388c0b6
tree64c5a3a2c84e68b8a598d3deb836a59e4484204d
parent0d99ff54cc3fb1dd85044f8971f6686138a5f149
aco: fix combine_salu_not_bitwise() when SCC is used

Previously, we didn't use the SCC bit, and thus, we didn't care about it.
With 'aco: Transform uniform bitwise instructions to 32-bit if possible.'
that changed, so that we have to handle it.

Fixes: 8a32f57fff56b3b94f1b5589feba38016f39427c ('aco: Transform uniform bitwise instructions to 32-bit if possible.')
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3598>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3598>
src/amd/compiler/aco_optimizer.cpp