[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::../../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::../../validity/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[]
--
