C Specification
The VkPhysicalDeviceShaderBfloat16FeaturesKHR structure is defined as:
// Provided by VK_KHR_shader_bfloat16
typedef struct VkPhysicalDeviceShaderBfloat16FeaturesKHR {
VkStructureType sType;
void* pNext;
VkBool32 shaderBFloat16Type;
VkBool32 shaderBFloat16DotProduct;
VkBool32 shaderBFloat16CooperativeMatrix;
} VkPhysicalDeviceShaderBfloat16FeaturesKHR;
Members
This structure describes the following features:
-
shaderBFloat16Typeindicates whether the implementation supports shaders with theBFloat16TypeKHRcapability. -
shaderBFloat16DotProductindicates whether the implementation supports shaders with theBFloat16DotProductKHRcapability. -
shaderBFloat16CooperativeMatrixindicates whether the implementation supports shaders with theBFloat16CooperativeMatrixKHRcapability.
Description
If the VkPhysicalDeviceShaderBfloat16FeaturesKHR 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.
If the application wishes to use a VkDevice with any features
described by VkPhysicalDeviceShaderBfloat16FeaturesKHR, it must add an instance of the structure,
with the desired feature members set to VK_TRUE, to the pNext
chain of VkDeviceCreateInfo when creating the VkDevice.
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.