mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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:
parent
5e2c951ba6
commit
3b674771bb
1 changed files with 0 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue