radv: do not inline push constants for non-monolithic shaders
It's hard to implement this because the function arguments must match when eg. VS or TCS are compiled separately on GFX9+. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24697>
This commit is contained in:

committed by
Marge Bot

parent
34ddde6d63
commit
e5d30462c9
@@ -736,7 +736,8 @@ radv_declare_shader_args(const struct radv_device *device, const struct radv_pip
|
||||
user_sgpr_info.remaining_sgprs -= num_desc_set;
|
||||
}
|
||||
|
||||
allocate_inline_push_consts(info, &user_sgpr_info);
|
||||
if (info->is_monolithic)
|
||||
allocate_inline_push_consts(info, &user_sgpr_info);
|
||||
|
||||
declare_shader_args(device, key, info, stage, previous_stage, args, &user_sgpr_info);
|
||||
}
|
||||
|
Reference in New Issue
Block a user