diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-04-07 18:29:16 +1000 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-04-07 18:29:16 +1000 |
| commit | c5b9a36ef5663dea196303701ad064b16eebd2de (patch) | |
| tree | fc49d80d38c3c4eac65e19800e7ea8f6eefc3914 | |
| parent | 6d1032d39fac105f1bfb5972a45643b6fffb56a2 (diff) | |
Add ONE_TIME_SUBMIT_BIT to timestamp flags
| -rw-r--r-- | src/timestamp_pool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timestamp_pool.cc b/src/timestamp_pool.cc index cfe2528..b52e8f8 100644 --- a/src/timestamp_pool.cc +++ b/src/timestamp_pool.cc @@ -122,7 +122,7 @@ TimestampPool::Handle::Handle(TimestampPool& timestamp_pool, const auto cbbi = VkCommandBufferBeginInfo{ .sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, - }; + .flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT}; const auto& device_context = this->timestamp_pool.queue_context.device; const auto& vtable = device_context.vtable; |
