radv: use force_indirect_desc_sets when creating RT prologs

This is cleaner and this field has been added exactly for that.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37786>
This commit is contained in:
Samuel Pitoiset 2025-10-09 09:52:15 +02:00 committed by Marge Bot
parent 055b10a75c
commit 0ff1ce4ac5

View file

@ -3385,7 +3385,7 @@ radv_create_rt_prolog(struct radv_device *device)
struct radv_shader_info info = {0};
info.stage = MESA_SHADER_COMPUTE;
info.loads_push_constants = true;
info.desc_set_used_mask = -1; /* just to force indirection */
info.force_indirect_desc_sets = true;
info.wave_size = pdev->rt_wave_size;
info.workgroup_size = info.wave_size;
info.user_data_0 = R_00B900_COMPUTE_USER_DATA_0;