From 0a882c4b85423a170455f05a52d18f7fa7c9220b Mon Sep 17 00:00:00 2001 From: Quentin LADEVIE Date: Sun, 22 Jan 2023 17:59:24 +0100 Subject: Api test bindless and command buffers --- api-proto.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'api-proto.txt') diff --git a/api-proto.txt b/api-proto.txt index a8ca1ff..8ffd5ef 100644 --- a/api-proto.txt +++ b/api-proto.txt @@ -9,6 +9,8 @@ class device_command_buffer { void stop(); VkCommandBuffer handle; + queue owner; + CMD_BUF_TYPE buf_type = CMD_BUF_TYPE::MAX; } class graphics_device_command_buffer : device_command_buffer { @@ -63,7 +65,10 @@ class device { vkAllocate(ptr, count, queue[type]); } - fence submit(span cmd_buffers, CMD_BUF_TYPE type); + submit(span cmd_buffers, semaphore) { + + vkSubmit(); + } wait(fence); wait_idle(); -- cgit v1.3