diff options
Diffstat (limited to 'api-proto.txt')
| -rw-r--r-- | api-proto.txt | 7 |
1 files changed, 6 insertions, 1 deletions
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<device_command_buffer> cmd_buffers, CMD_BUF_TYPE type); + submit(span<device_command_buffer> cmd_buffers, semaphore) { + + vkSubmit(); + } wait(fence); wait_idle(); |
