aboutsummaryrefslogtreecommitdiffstats
path: root/api-proto.txt
diff options
context:
space:
mode:
authorQuentin LADEVIE <qladevie@wanadev.fr>2023-01-22 17:59:24 +0100
committerQuentin LADEVIE <qladevie@wanadev.fr>2023-01-22 17:59:24 +0100
commit0a882c4b85423a170455f05a52d18f7fa7c9220b (patch)
tree3bdc24d73ba7cc828fce2b93ce85f73831b12204 /api-proto.txt
parent5e3bb454d50091e581d5d1d03af34e38277694b3 (diff)
Api test bindless and command buffers
Diffstat (limited to 'api-proto.txt')
-rw-r--r--api-proto.txt7
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();