mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
radv: add the DGC preprocess BO to the cmdbuf BO list
This wasn't needed in practice because DGC NV is only enabled for vkd3d-proton and it always uses the global BO list but better to add it anyways. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29600>
This commit is contained in:
parent
cdf3228f88
commit
e51ae61a4d
1 changed files with 2 additions and 0 deletions
|
|
@ -11591,6 +11591,8 @@ radv_CmdExecuteGeneratedCommandsNV(VkCommandBuffer commandBuffer, VkBool32 isPre
|
|||
radeon_emit(cmd_buffer->cs, 0);
|
||||
}
|
||||
|
||||
radv_cs_add_buffer(device->ws, cmd_buffer->cs, prep_buffer->bo);
|
||||
|
||||
if (compute || !view_mask) {
|
||||
device->ws->cs_execute_ib(cmd_buffer->cs, ib_bo, ib_offset, cmdbuf_size >> 2, cmd_buffer->state.predicating);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue