aco: Extract uniform if handling to separate functions.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 22 Jan 2020 17:21:43 +0000 (18:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 11:29:35 +0000 (11:29 +0000)
commitb9cbdb6a457675c33480e446851a7f1df3be22e9
treeff00add44ad6c3a690d12dd85d60c1af5da61f12
parentcc8a85d05a9cf47e89c6a8c5e6db98caba79e00d
aco: Extract uniform if handling to separate functions.

Currently we only use this for uniform ifs that come from NIR,
but we are going to need to use it with some NGG parts as well.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3576>
src/amd/compiler/aco_instruction_selection.cpp