vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
To query the set of mixed sample combinations of coverage reduction mode, rasterization samples and color, depth, stencil attachment sample counts that are supported by a physical device, call:
VkResult vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(
VkPhysicalDevice physicalDevice,
uint32_t* pCombinationCount,
VkFramebufferMixedSamplesCombinationNV* pCombinations);
physicalDevice
is the physical device from which to query the set of combinations.pCombinationCount
is a pointer to an integer related to the number of combinations available or queried, as described below.pCombinations
is eitherNULL
or a pointer to an array of VkFramebufferMixedSamplesCombinationNV values, indicating the supported combinations of coverage reduction mode, rasterization samples, and color, depth, stencil attachment sample counts.
If pCombinations
is NULL
, then the number of supported combinations
for the given physicalDevice
is returned in pCombinationCount
.
Otherwise, pCombinationCount
must point to a variable set by the
application to the number of elements in the pCombinations
array, and
on return the variable is overwritten with the number of values actually
written to pCombinations
.
If the value of pCombinationCount
is less than the number of
combinations supported for the given physicalDevice
, at most
pCombinationCount
values will be written to pCombinations
, and
VK_INCOMPLETE
will be returned instead of VK_SUCCESS
, to
indicate that not all the supported values were returned.
Valid Usage (Implicit)
VUID-vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV-physicalDevice-parameter
physicalDevice
must be a valid VkPhysicalDevice handle
VUID-vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV-pCombinationCount-parameter
pCombinationCount
must be a valid pointer to a uint32_t
value
VUID-vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV-pCombinations-parameter
If the value referenced by pCombinationCount
is not 0
, and pCombinations
is not NULL
, pCombinations
must be a valid pointer to an array of pCombinationCount
VkFramebufferMixedSamplesCombinationNV structures