[vk] Sample Locations Structure

This commit is contained in:
CamilleLaVey 2025-11-26 00:28:59 -04:00 committed by Caio Oliveira
parent 09817947c4
commit edc6b909b5
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with 10 additions and 0 deletions

View File

@ -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<VkStructureType>(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.