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:
// Provided by VK_NV_coverage_reduction_mode VkResult vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( VkPhysicalDevice physicalDevice, uint32_t* pCombinationCount, VkFramebufferMixedSamplesCombinationNV* pCombinations);
physicalDeviceis the physical device from which to query the set of combinations.
pCombinationCountis a pointer to an integer related to the number of combinations available or queried, as described below.
NULLor 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.
NULL, then the number of supported combinations
for the given
physicalDevice is returned in
pCombinationCount must point to a variable set by the user
to the number of elements in the
pCombinations array, and on return
the variable is overwritten with the number of values actually written to
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
VK_INCOMPLETE will be returned instead of
indicate that not all the supported values were returned.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.