aco: Extract tcs_driver_location_matches_api_mask to separate function.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 26 Mar 2020 17:14:43 +0000 (18:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 13:09:08 +0000 (13:09 +0000)
commitd3f6adcaed9775283ce2fb63a39aaee85e1312b0
treed1ed8e30070a19921bbd8ca44f25dde39ec23541
parente0dff5fd86179b4d265060d5fc6138bb6a50b54d
aco: Extract tcs_driver_location_matches_api_mask to separate function.

Also clear up should_write_tcs_output_to_lds a little bit.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4165>
src/amd/compiler/aco_instruction_selection.cpp