C Specification
The VkPhysicalDevicePortabilitySubsetFeaturesKHR structure is defined
as:
// Provided by VK_KHR_portability_subset
typedef struct VkPhysicalDevicePortabilitySubsetFeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 constantAlphaColorBlendFactors;
VkBool32 events;
VkBool32 imageViewFormatReinterpretation;
VkBool32 imageViewFormatSwizzle;
VkBool32 imageView2DOn3DImage;
VkBool32 multisampleArrayImage;
VkBool32 mutableComparisonSamplers;
VkBool32 pointPolygons;
VkBool32 samplerMipLodBias;
VkBool32 separateStencilMaskRef;
VkBool32 shaderSampleRateInterpolationFunctions;
VkBool32 tessellationIsolines;
VkBool32 tessellationPointMode;
VkBool32 triangleFans;
VkBool32 vertexAttributeAccessBeyondStride;
} VkPhysicalDevicePortabilitySubsetFeaturesKHR;
Description
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
constantAlphaColorBlendFactorsindicates whether this implementation supports constant alpha https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-blendfactors used as source or destination color https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#framebuffer-blending. -
eventsindicates whether this implementation supports synchronization using https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#synchronization-events. -
imageViewFormatReinterpretationindicates whether this implementation supports aVkImageViewbeing created with a texel format containing a different number of components, or a different number of bits in each component, than the texel format of the underlyingVkImage. -
imageViewFormatSwizzleindicates whether this implementation supports remapping format components using VkImageViewCreateInfo::components. -
imageView2DOn3DImageindicates whether this implementation supports aVkImagebeing created with theVK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BITflag set, permitting a 2D or 2D array image view to be created on a 3DVkImage. -
multisampleArrayImageindicates whether this implementation supports aVkImagebeing created as a 2D array with multiple samples per texel. -
mutableComparisonSamplersindicates whether this implementation allows descriptors with comparison samplers to be updated. -
pointPolygonsindicates whether this implementation supports https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#primsrast using a point https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#primsrast-polygonmode. -
samplerMipLodBiasindicates whether this implementation supports setting a mipmap LOD bias value when creating a sampler. -
separateStencilMaskRefindicates whether this implementation supports separate front and back https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-stencil reference values. -
shaderSampleRateInterpolationFunctionsindicates whether this implementation supports fragment shaders which use theInterpolationFunctioncapability and the extended instructionsInterpolateAtCentroid,InterpolateAtOffset, andInterpolateAtSamplefrom theGLSL.std.450extended instruction set. This member is only meaningful if thesampleRateShadingfeature is supported. -
tessellationIsolinesindicates whether this implementation supports isoline output from the https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#tessellation stage of a graphics pipeline. This member is only meaningful iftessellationShaderare supported. -
tessellationPointModeindicates whether this implementation supports point output from the https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#tessellation stage of a graphics pipeline. This member is only meaningful iftessellationShaderare supported. -
triangleFansindicates whether this implementation supports https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-triangle-fans primitive topology. -
vertexAttributeAccessBeyondStrideindicates whether this implementation supports accessing a vertex input attribute beyond the stride of the corresponding vertex input binding.
If the VkPhysicalDevicePortabilitySubsetFeaturesKHR structure is included in the pNext chain of the
VkPhysicalDeviceFeatures2 structure passed to
vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each
corresponding feature is supported.
VkPhysicalDevicePortabilitySubsetFeaturesKHR can also be used in the pNext chain of
VkDeviceCreateInfo to selectively enable these features.
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.