1// Copyright 2018-2021 The Khronos Group, Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5[open,refpage='VkShaderModuleValidationCacheCreateInfoEXT',desc='Specify validation cache to use during shader module creation',type='structs'] 6-- 7To use a slink:VkValidationCacheEXT to cache shader validation results, add 8a slink:VkShaderModuleValidationCacheCreateInfoEXT structure to the 9pname:pNext chain of the slink:VkShaderModuleCreateInfo structure, 10specifying the cache object to use. 11 12The sname:VkShaderModuleValidationCacheCreateInfoEXT struct is defined as: 13 14include::{generated}/api/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[] 15 16 * pname:sType is the type of this structure. 17 * pname:pNext is `NULL` or a pointer to a structure extending this 18 structure. 19 * pname:validationCache is the validation cache object from which the 20 results of prior validation attempts will be written, and to which new 21 validation results for this slink:VkShaderModule will be written (if not 22 already present). 23 24include::{generated}/validity/structs/VkShaderModuleValidationCacheCreateInfoEXT.txt[] 25-- 26