diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
| commit | 644bc4ed5edd4e3ffa88750bdacb147c75df9546 (patch) | |
| tree | 5580f05b202493ccb68d5c67ec37e10d53f3cd1d /src/queue_context.hh | |
| parent | 681bd5096ee416b50dd7338de30af7b3db385a36 (diff) | |
Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool
Diffstat (limited to 'src/queue_context.hh')
| -rw-r--r-- | src/queue_context.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/queue_context.hh b/src/queue_context.hh index 48500e1..a52e718 100644 --- a/src/queue_context.hh +++ b/src/queue_context.hh @@ -22,18 +22,18 @@ class QueueContext final : public Context { static constexpr auto MAX_TRACKED_SUBMISSIONS = 50u; public: - DeviceContext& device_context; + DeviceContext& device; const VkQueue queue; const std::uint32_t queue_family_index; struct CommandPoolOwner final { private: - const QueueContext& queue_context; + const QueueContext& queue; VkCommandPool command_pool; public: - CommandPoolOwner(const QueueContext& queue_context); + CommandPoolOwner(const QueueContext& queue); CommandPoolOwner(const CommandPoolOwner&) = delete; CommandPoolOwner(CommandPoolOwner&&) = delete; CommandPoolOwner operator=(const CommandPoolOwner&) = delete; @@ -67,7 +67,7 @@ class QueueContext final : public Context { // // When our hook sees a VkQueuePresentKHR, we take the provided present_id // and notify our device that it needs to watch for when this completes. - // We give it our submission. Now, it's out of our hands. We remove the + // We give it our submissions. Now, it's out of our hands. We remove the // present_id_t mapping when doing so. struct Submission { std::shared_ptr<TimestampPool::Handle> head_handle, tail_handle; |
