VkPhysicalDeviceMaintenance10PropertiesKHR(3)
Name
VkPhysicalDeviceMaintenance10PropertiesKHR - Structure describing various implementation-defined properties introduced with VK_KHR_maintenance10
C Specification
The VkPhysicalDeviceMaintenance10PropertiesKHR structure is defined
as:
// Provided by VK_KHR_maintenance10
typedef struct VkPhysicalDeviceMaintenance10PropertiesKHR {
VkStructureType sType;
void* pNext;
VkBool32 rgba4OpaqueBlackSwizzled;
VkBool32 resolveSrgbFormatAppliesTransferFunction;
VkBool32 resolveSrgbFormatSupportsTransferFunctionControl;
} VkPhysicalDeviceMaintenance10PropertiesKHR;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
rgba4OpaqueBlackSwizzledindicates whether correct swizzling is applied to the opaque black border color when using either theVK_FORMAT_B4G4R4A4_UNORM_PACK16orVK_FORMAT_R4G4B4A4_UNORM_PACK16format. If it isVK_TRUE, the implementation will correctly produce an opaque black border color with these formats. If it isVK_FALSE, the implementation may swap the first channel with the alpha channel for the border color when sampling. -
resolveSrgbFormatAppliesTransferFunctionindicates whether resolving a multi-sampled sRGB format to single-sampled sRGB by a weighted average converts the samples to linear before averaging. This applies to both attachment resolves in a render pass and standalone resolve commands. IfVK_TRUE, implementation always converts to linear before averaging unless overridden. IfVK_FALSE, implementation never converts to linear before averaging unless overridden. -
resolveSrgbFormatSupportsTransferFunctionControlindicates whether the implementation supports overriding the default behavior inresolveSrgbFormatAppliesTransferFunctionin render passes and vkCmdResolveImage2.
Description
Implementations supporting maintenance10
should set resolveSrgbFormatAppliesTransferFunction to VK_TRUE.
If the VkPhysicalDeviceMaintenance10PropertiesKHR structure is included in the pNext chain of the
VkPhysicalDeviceProperties2 structure passed to
vkGetPhysicalDeviceProperties2, it is filled in with each
corresponding implementation-dependent property.
See Also
VK_KHR_maintenance10, VkBool32, VkStructureType
Document Notes
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.