# VkPhysicalDeviceShaderBfloat16FeaturesKHR(3) Manual Page

## Name

VkPhysicalDeviceShaderBfloat16FeaturesKHR - Structure describing bfloat16 features that can be supported by the implementation

Loading… please wait.

## 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:

- `shaderBFloat16Type` indicates whether the implementation supports shaders with the `BFloat16TypeKHR` capability.

- `shaderBFloat16DotProduct` indicates whether the implementation supports shaders with the `BFloat16DotProductKHR` capability.

- `shaderBFloat16CooperativeMatrix` indicates whether the implementation supports shaders with the `BFloat16CooperativeMatrixKHR` capability.

## 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.

Valid Usage (Implicit)

- VUID-VkPhysicalDeviceShaderBfloat16FeaturesKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR`

## See Also

VK_KHR_shader_bfloat16, 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.

## Copyright

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0