mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
venus: Do not submit batch manually when no feedback is required
This fixes hangs with Zink on piglit spec@arb_sparse_buffer tests caused by the double submission.
Fixes: a55d26b566 ("venus: add back sparse binding support")
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26375>
This commit is contained in:
parent
1924cdc289
commit
f59665bb62
1 changed files with 1 additions and 3 deletions
|
|
@ -1405,9 +1405,7 @@ vn_QueueBindSparse(VkQueue queue,
|
|||
/* if feedback isn't used in the batch, can directly submit */
|
||||
if (!submit.has_feedback_fence && !submit.has_feedback_semaphore &&
|
||||
!submit.has_feedback_query) {
|
||||
result = vn_queue_bind_sparse_submit(&submit);
|
||||
if (result != VK_SUCCESS)
|
||||
return result;
|
||||
return vn_queue_bind_sparse_submit(&submit);
|
||||
}
|
||||
|
||||
for (uint32_t i = 0; i < submit.batch_count; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue