• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[open,refpage='VkShaderModuleValidationCacheCreateInfoEXT',desc='Specify validation cache to use during shader module creation',type='structs']
2--
3
4To use a slink:VkValidationCacheEXT to cache shader validation results, add
5a slink:VkShaderModuleValidationCacheCreateInfoEXT to the pname:pNext chain
6of the slink:VkShaderModuleCreateInfo structure, specifying the cache object
7to use.
8
9The sname:VkShaderModuleValidationCacheCreateInfoEXT struct is defined as:
10
11include::../../api/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
12
13  * pname:sType is the type of this structure.
14  * pname:pNext is `NULL` or a pointer to an extension-specific structure.
15  * pname:validationCache is the validation cache object from which the
16    results of prior validation attempts will be written, and to which new
17    validation results for this slink:VkShaderModule will be written (if not
18    already present).
19
20include::../../validity/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
21--
22