From 97cfd9786fd746c8fedfeedd537f807003266ae7 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Wed, 26 Nov 2025 00:28:59 -0400 Subject: [PATCH] [vk] Sample Locations Structure --- src/video_core/vulkan_common/vulkan_device.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 6357fbfb69..2926f78aac 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -20,6 +20,16 @@ VK_DEFINE_HANDLE(VmaAllocator) +#ifndef VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_FEATURES_EXT +#define VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_FEATURES_EXT \ + static_cast(1000143001) +typedef struct VkPhysicalDeviceSampleLocationsFeaturesEXT { + VkStructureType sType; + void* pNext; + VkBool32 sampleLocations; +} VkPhysicalDeviceSampleLocationsFeaturesEXT; +#endif // VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_FEATURES_EXT + // Define all features which may be used by the implementation here. // Vulkan version in the macro describes the minimum version required for feature availability. // If the Vulkan version is lower than the required version, the named extension is required.