C Specification
The VkPhysicalDeviceMeshShaderFeaturesEXT structure is defined as:
// Provided by VK_EXT_mesh_shader
typedef struct VkPhysicalDeviceMeshShaderFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 taskShader;
VkBool32 meshShader;
VkBool32 multiviewMeshShader;
VkBool32 primitiveFragmentShadingRateMeshShader;
VkBool32 meshShaderQueries;
} VkPhysicalDeviceMeshShaderFeaturesEXT;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
taskShaderspecifies whether task shaders are supported. If this feature is not enabled, theVK_SHADER_STAGE_TASK_BIT_EXTandVK_PIPELINE_STAGE_TASK_SHADER_BIT_EXTenum values must not be used. -
meshShaderspecifies whether mesh shaders are supported. If this feature is not enabled, theVK_SHADER_STAGE_MESH_BIT_EXTandVK_PIPELINE_STAGE_MESH_SHADER_BIT_EXTenum values must not be used. -
multiviewMeshShaderspecifies whether the implementation supportsmultiviewrendering within a render pass, with mesh shaders. If this feature is not enabled, then a pipeline compiled against a subpass with a non-zero view mask must not include a mesh shader. -
primitiveFragmentShadingRateMeshShaderindicates that the implementation supports the primitive fragment shading rate in mesh shaders. -
meshShaderQueriesindicates that the implementation supports creating query pools using theVK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXTquery type and statistic queries containing theVK_QUERY_PIPELINE_STATISTIC_TASK_SHADER_INVOCATIONS_BIT_EXTandVK_QUERY_PIPELINE_STATISTIC_MESH_SHADER_INVOCATIONS_BIT_EXTflags
Description
If the VkPhysicalDeviceMeshShaderFeaturesEXT 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.
VkPhysicalDeviceMeshShaderFeaturesEXT can also be used in the pNext chain of
VkDeviceCreateInfo to selectively enable these features.
The corresponding features of the VkPhysicalDeviceMeshShaderFeaturesNV
structure must match those in VkPhysicalDeviceMeshShaderFeaturesEXT.
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.