VkShaderFloatControlsIndependenceKHR(3)

# VkShaderFloatControlsIndependenceKHR(3) Manual Page

## Name

VkShaderFloatControlsIndependenceKHR - Enum specifying whether, and how, shader float controls can be set separately

## C Specification

Values which may be returned in the `denormBehaviorIndependence` and `roundingModeIndependence` fields of VkPhysicalDeviceFloatControlsPropertiesKHR are:

    typedef enum VkShaderFloatControlsIndependenceKHR {
        VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR = 0,
        VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL_KHR = 1,
        VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR = 2,
        VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_MAX_ENUM_KHR = 0x7FFFFFFF
    } VkShaderFloatControlsIndependenceKHR;

## Description

- `VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR` specifies that shader float controls for 32-bit floating point can be set independently; other bit widths must be set identically to each other.

- `VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL_KHR` specifies that shader float controls for all bit widths can be set independently.

- `VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR` specifies that shader float controls for all bit widths must be set identically.

## See Also

VkPhysicalDeviceFloatControlsPropertiesKHR

## 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 (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.