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
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
constantAlphaColorBlendFactors
indicates 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. -
events
indicates whether this implementation supports synchronization using https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#synchronization-events. -
imageViewFormatReinterpretation
indicates whether this implementation supports aVkImageView
being 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
. -
imageViewFormatSwizzle
indicates whether this implementation supports remapping format components using VkImageViewCreateInfo::components
. -
imageView2DOn3DImage
indicates whether this implementation supports aVkImage
being created with theVK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT
flag set, permitting a 2D or 2D array image view to be created on a 3DVkImage
. -
multisampleArrayImage
indicates whether this implementation supports aVkImage
being created as a 2D array with multiple samples per texel. -
mutableComparisonSamplers
indicates whether this implementation allows descriptors with comparison samplers to be updated. -
pointPolygons
indicates 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. -
samplerMipLodBias
indicates whether this implementation supports setting a mipmap LOD bias value when creating a sampler. -
separateStencilMaskRef
indicates whether this implementation supports separate front and back https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#fragops-stencil reference values. -
shaderSampleRateInterpolationFunctions
indicates whether this implementation supports fragment shaders which use theInterpolationFunction
capability and the extended instructionsInterpolateAtCentroid
,InterpolateAtOffset
, andInterpolateAtSample
from theGLSL.std.450
extended instruction set. This member is only meaningful if thesampleRateShading
feature is supported. -
tessellationIsolines
indicates 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 iftessellationShader
are supported. -
tessellationPointMode
indicates 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 iftessellationShader
are supported. -
triangleFans
indicates whether this implementation supports https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#drawing-triangle-fans primitive topology. -
vertexAttributeAccessBeyondStride
indicates 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.