## C Specification

The VkPhysicalDeviceSampleLocationsPropertiesEXT structure is defined as:

typedef struct VkPhysicalDeviceSampleLocationsPropertiesEXT {
VkStructureType       sType;
void*                 pNext;
VkSampleCountFlags    sampleLocationSampleCounts;
VkExtent2D            maxSampleLocationGridSize;
float                 sampleLocationCoordinateRange[2];
uint32_t              sampleLocationSubPixelBits;
VkBool32              variableSampleLocations;
} VkPhysicalDeviceSampleLocationsPropertiesEXT;

## Members

The members of the VkPhysicalDeviceSampleLocationsPropertiesEXT structure describe the following implementation-dependent limits:

## Description

• sType is the type of this structure.

• pNext is NULL or a pointer to an extension-specific structure.

• sampleLocationSampleCounts is a bitmask of VkSampleCountFlagBits indicating the sample counts supporting custom sample locations.

• maxSampleLocationGridSize is the maximum size of the pixel grid in which sample locations can vary that is supported for all sample counts in sampleLocationSampleCounts.

• sampleLocationCoordinateRange[2] is the range of supported sample location coordinates.

• sampleLocationSubPixelBits is the number of bits of subpixel precision for sample locations.

• variableSampleLocations specifies whether the sample locations used by all pipelines that will be bound to a command buffer during a subpass must match. If set to VK_TRUE, the implementation supports variable sample locations in a subpass. If set to VK_FALSE, then the sample locations must stay constant in each subpass.

If the VkPhysicalDeviceSampleLocationsPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

Valid Usage (Implicit)
• sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT

VkBool32, VkExtent2D, VkSampleCountFlags, VkStructureType