VK_KHR_shader_expect_assume(3)

# VK_KHR_shader_expect_assume(3) Manual Page

## Name

VK_KHR_shader_expect_assume - device extension

Loading… please wait.

## Registered Extension Number

545

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

## SPIR-V Dependencies

- SPV_KHR_expect_assume

## Contact

- Kevin Petit kpet

## Extension Proposal

VK_KHR_shader_expect_assume

## Other Extension Metadata

Last Modified Date

  2023-12-06

IP Status

  No known IP claims.

Contributors

  - Kevin Petit, Arm

  - Tobias Hector, AMD

  - James Fitzpatrick, Imagination Technologies

## Description

This extension allows the use of the `SPV_KHR_expect_assume` extension in SPIR-V shader modules which enables SPIR-V producers to provide optimization hints to the Vulkan implementation.

## New Structures

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceShaderExpectAssumeFeaturesKHR

## New Enum Constants

- `VK_KHR_SHADER_EXPECT_ASSUME_EXTENSION_NAME`

- `VK_KHR_SHADER_EXPECT_ASSUME_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES_KHR`

## New SPIR-V Capabilities

- ExpectAssumeKHR

## Version History

- Revision 1, 2023-12-06 (Kevin Petit)

  - Initial revision

## See Also

VkPhysicalDeviceShaderExpectAssumeFeaturesKHR

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0