From 681bd5096ee416b50dd7338de30af7b3db385a36 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Sun, 29 Mar 2026 20:44:23 +1100 Subject: Implement Reflex - break AntiLag in the process. Remove AntiLag1. WIP --- src/physical_device_context.hh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/physical_device_context.hh') diff --git a/src/physical_device_context.hh b/src/physical_device_context.hh index 9624faa..f7ad289 100644 --- a/src/physical_device_context.hh +++ b/src/physical_device_context.hh @@ -4,6 +4,7 @@ #include "instance_context.hh" #include +#include #include "context.hh" @@ -17,7 +18,8 @@ class PhysicalDeviceContext final : public Context { static constexpr auto required_extensions = { VK_KHR_SYNCHRONIZATION_2_EXTENSION_NAME, VK_KHR_CALIBRATED_TIMESTAMPS_EXTENSION_NAME, - VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME}; + VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME, + VK_KHR_PRESENT_ID_EXTENSION_NAME}; public: InstanceContext& instance; @@ -29,8 +31,8 @@ class PhysicalDeviceContext final : public Context { using queue_properties_t = std::vector; std::unique_ptr queue_properties; - // Will be set to true in the constructor if the physical device supports - // everything we need to track gpu timing data. + // Will be true if the physical device supports everything in + // this->required_extensions. bool supports_required_extensions = false; public: -- cgit v1.2.3