Vulkan-Docs/chapters/VK_EXT_validation_cache/shader-module-validation-ca...

22 lines
1004 B
Plaintext

[open,refpage='VkShaderModuleValidationCacheCreateInfoEXT',desc='Specify validation cache to use during shader module creation',type='structs']
--
To use a slink:VkValidationCacheEXT to cache shader validation results, add
a slink:VkShaderModuleValidationCacheCreateInfoEXT to the pname:pNext chain
of the slink:VkShaderModuleCreateInfo structure, specifying the cache object
to use.
The sname:VkShaderModuleValidationCacheCreateInfoEXT struct is defined as:
include::{generated}/api/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:validationCache is the validation cache object from which the
results of prior validation attempts will be written, and to which new
validation results for this slink:VkShaderModule will be written (if not
already present).
include::{generated}/validity/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
--