VK_EXT_validation_cache(3)

# VK_EXT_validation_cache(3) Manual Page

## Name

VK_EXT_validation_cache - device extension

Loading… please wait.

## Registered Extension Number

161

## Revision

1

## Extension and Version Dependencies

- Requires Vulkan 1.0

### Other Extension Metadata

Last Modified Date

  2017-08-29

IP Status

  No known IP claims.

Contributors

  - Cort Stratton, Google

  - Chris Forbes, Google

### Description

This extension provides a mechanism for caching the results of potentially expensive internal validation operations across multiple runs of a Vulkan application. At the core is the VkValidationCacheEXT object type, which is managed similarly to the existing VkPipelineCache.

The new struct VkShaderModuleValidationCacheCreateInfoEXT can be included in the `pNext` chain at vkCreateShaderModule time. It contains a VkValidationCacheEXT to use when validating the VkShaderModule.

### New Object Types

- VkValidationCacheEXT

### New Commands

- vkCreateValidationCacheEXT

- vkDestroyValidationCacheEXT

- vkGetValidationCacheDataEXT

- vkMergeValidationCachesEXT

### New Structures

- VkValidationCacheCreateInfoEXT

- Extending VkShaderModuleCreateInfo:

  - VkShaderModuleValidationCacheCreateInfoEXT

### New Enums

- VkValidationCacheHeaderVersionEXT

### New Bitmasks

- VkValidationCacheCreateFlagsEXT

### New Enum Constants

- `VK_EXT_VALIDATION_CACHE_EXTENSION_NAME`

- `VK_EXT_VALIDATION_CACHE_SPEC_VERSION`

- Extending VkObjectType:

  - `VK_OBJECT_TYPE_VALIDATION_CACHE_EXT`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT`

  - `VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT`

### Version History

- Revision 1, 2017-08-29 (Cort Stratton)

  - Initial draft

## See Also

VkShaderModuleValidationCacheCreateInfoEXT, VkValidationCacheCreateFlagsEXT, VkValidationCacheCreateInfoEXT, VkValidationCacheEXT, VkValidationCacheHeaderVersionEXT, vkCreateValidationCacheEXT, vkDestroyValidationCacheEXT, vkGetValidationCacheDataEXT, vkMergeValidationCachesEXT

## 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 (c) 2014-2020 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0