nvk: Do not fill cb0 at queue creation

We are already doing this in nvk_push_draw_state_init there is no need
for the extra DMA fill.

Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Tested-by: Thomas H.P. Andersen <phomes@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40753>
This commit is contained in:
Mary Guillemard 2026-03-30 15:23:29 +02:00 committed by Marge Bot
parent 5e2c951ba6
commit 3b674771bb

View file

@ -431,12 +431,6 @@ nvk_queue_create(struct nvk_device *dev,
&queue->draw_cb0);
if (result != VK_SUCCESS)
goto fail_exec_ctx;
result = nvk_upload_queue_fill(dev, &dev->upload,
queue->draw_cb0->va->addr, 0,
queue->draw_cb0->size_B);
if (result != VK_SUCCESS)
goto fail_draw_cb0;
}
if (queue_family->queue_flags & VK_QUEUE_SPARSE_BINDING_BIT) {