aco: Extract merged_wave_info_to_mask to its own function.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 31 Mar 2020 08:49:52 +0000 (10:49 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 11:29:35 +0000 (11:29 +0000)
commitd345bfe1958db162b1ddde85eccd3248f884f231
tree287b4fb35bc3248328ae6bb8a8715522f297b208
parent90b1047fdf84724a00be36f204e790246ad63a72
aco: Extract merged_wave_info_to_mask to its own function.

Currently we only use this at the beginning of merged shader parts,
but we are going to need to use it with some NGG code 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