summaryrefslogtreecommitdiff
path: root/src/vulkan_helper.h
diff options
context:
space:
mode:
authorChuyan Zhang <chuyan@ucsb.edu>2024-10-01 17:54:43 -0700
committerChuyan Zhang <chuyan@ucsb.edu>2024-10-01 17:54:43 -0700
commit4bb8fd5ac5c07e8756ae097e7f5d7f34697bc914 (patch)
tree61c452cb89a76cdf368021ec0db5f6e8f5ca0bd8 /src/vulkan_helper.h
parent6185c081c1a6ec13b54eab6a12ff72814cf3addb (diff)
downloadiris-4bb8fd5ac5c07e8756ae097e7f5d7f34697bc914.tar.gz
iris-4bb8fd5ac5c07e8756ae097e7f5d7f34697bc914.zip
fix command buffer release issue
Diffstat (limited to 'src/vulkan_helper.h')
-rw-r--r--src/vulkan_helper.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/vulkan_helper.h b/src/vulkan_helper.h
index d8c9c32..6dbf0b7 100644
--- a/src/vulkan_helper.h
+++ b/src/vulkan_helper.h
@@ -69,18 +69,6 @@ struct CommandBuffer {
~CommandBuffer() { destroy(); }
};
-struct AsyncCommandBuffer {
- VkDevice device;
- VkCommandPool pool;
- VkCommandBuffer buffer;
- VkFence fence;
- VkQueue queue;
-
- AsyncCommandBuffer(VkDevice device, uint32_t queue_family_index, VkQueue queue);
- void destroy();
- ~AsyncCommandBuffer() { destroy(); }
-};
-
struct Device {
VkInstance instance;
VkPhysicalDevice physical_device;
@@ -123,7 +111,6 @@ struct Device {
});
CommandBuffer create_command_buffer();
- AsyncCommandBuffer create_async_command_buffer();
};
} // namespace iris \ No newline at end of file