aco: disable shared VGPRs for non-monolithic shaders on GFX9+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Aug 2023 08:52:53 +0000 (10:52 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Aug 2023 07:22:04 +0000 (07:22 +0000)
commitaba16211a8a7f62a6022545a6240f0f2e217ec04
treebe6d6e07e764678ed1d9dd07fac6b27b31f8ebc5
parent4224da67264618961bbe74520d1e94399293cfa2
aco: disable shared VGPRs for non-monolithic shaders on GFX9+

For unmerged shaders on GFX9+, we would need to jump to the second
shader part which means shared VGPRs can't be enabled.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24697>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_shader_info.h
src/amd/vulkan/radv_aco_shader_info.h