Browse Source
[vk] Sample Locations Structure
eds-true-adreno-fixes
CamilleLaVey
4 weeks ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
10 additions and
0 deletions
-
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<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. |
|
|
|
|