radv: stop allocating upload space for indirect descriptors with DGC

The indirect descriptors are uploaded from the CPU and nothing needs
to be allocated in the DGC buffer.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31096>
This commit is contained in:
Samuel Pitoiset 2024-09-09 15:20:09 +02:00 committed by Marge Bot
parent 31875e92aa
commit 7be965bf17

View file

@ -92,9 +92,6 @@ radv_get_sequence_size_compute(const struct radv_indirect_command_layout *layout
/* PKT3_SET_SH_REG for indirect descriptor sets pointer */
*cmd_size += 3 * 4;
/* Reserve space for indirect pipelines because they might use indirect descriptor sets. */
*upload_size += MAX_SETS * 4;
}
if (device->sqtt.bo) {