mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 23:40:10 +01:00
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:
parent
34ddde6d63
commit
e5d30462c9
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue