diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-29 20:44:23 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-29 20:44:23 +1100 |
| commit | 681bd5096ee416b50dd7338de30af7b3db385a36 (patch) | |
| tree | 358b6bc6f9a3af66729b8ac3b15dd38cc0f4bd2a /src/physical_device_context.hh | |
| parent | d5ef2dbbd77c69dd93e92d5b7046a65c2361b59b (diff) | |
Implement Reflex - break AntiLag in the process. Remove AntiLag1. WIP
Diffstat (limited to 'src/physical_device_context.hh')
| -rw-r--r-- | src/physical_device_context.hh | 8 |
1 files changed, 5 insertions, 3 deletions
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 <vulkan/vulkan.hpp> +#include <vulkan/vulkan_core.h> #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<VkQueueFamilyProperties2>; std::unique_ptr<const queue_properties_t> 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: |
