mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
dzn: Store command list type in the command buffer object
We'll want to use this for choosing queue-type-specific layouts in the new pipeline barrier implementation. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20324>
This commit is contained in:
parent
d7f5563907
commit
184339ba6f
2 changed files with 3 additions and 0 deletions
|
|
@ -480,6 +480,7 @@ dzn_cmd_buffer_create(const VkCommandBufferAllocateInfo *info,
|
|||
|
||||
(void)ID3D12GraphicsCommandList_QueryInterface(cmdbuf->cmdlist, &IID_ID3D12GraphicsCommandList8, (void **)&cmdbuf->cmdlist8);
|
||||
|
||||
cmdbuf->type = type;
|
||||
out:
|
||||
if (result != VK_SUCCESS)
|
||||
dzn_cmd_buffer_destroy(&cmdbuf->vk);
|
||||
|
|
|
|||
|
|
@ -593,6 +593,8 @@ struct dzn_cmd_buffer {
|
|||
ID3D12CommandAllocator *cmdalloc;
|
||||
ID3D12GraphicsCommandList1 *cmdlist;
|
||||
ID3D12GraphicsCommandList8 *cmdlist8;
|
||||
|
||||
D3D12_COMMAND_LIST_TYPE type;
|
||||
};
|
||||
|
||||
struct dzn_descriptor_pool {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue