Vulkan-Docs/chapters/VK_EXT_validation_cache/shader-module-validation-cache.txt
Jon Leech 9a8314cd41 Restructure the repository to put the specification Makefile and
associated material at the top level, vk.xml and associated material in
xml/, and generated include and source files in include/vulkan/ and
src/ext_loader/, respectively (public issue 436).
2018-04-04 23:08:43 -07:00

22 lines
980 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 VkShaderModuleValidationCacheCreateInfoEXT struct is defined as:
include::../../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 VkShaderModule will be written (if not
already present).
include::../../validity/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
--