radv: determine if a shader uses indirect descriptors from the SGPR loc
If the SGPR loc is declared, the shader needs indirect descriptor sets. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13149>
This commit is contained in:

committed by
Marge Bot

parent
2d4fc61bff
commit
113ce21528
@@ -393,8 +393,6 @@ set_global_input_locs(struct radv_shader_args *args, const struct user_sgpr_info
|
||||
}
|
||||
} else {
|
||||
set_loc_shader_ptr(args, AC_UD_INDIRECT_DESCRIPTOR_SETS, user_sgpr_idx);
|
||||
|
||||
args->shader_info->need_indirect_descriptor_sets = true;
|
||||
}
|
||||
|
||||
if (args->ac.push_constants.used) {
|
||||
|
Reference in New Issue
Block a user