// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry ifndef::doctype-manpage[] .Valid Usage ******************************************************************************** endif::doctype-manpage[] ifdef::doctype-manpage[] Valid Usage ----------- endif::doctype-manpage[] * pname:sType must: be ename:VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO * pname:pNext must: be `NULL` * pname:flags must: be `0` * pname:pCode must: be a pointer to an array of pname:codeSize/4 basetype:uint32_t values * pname:codeSize must: be greater than 0 * pname:codeSize must: be a multiple of 4 * pname:pCode must: point to valid SPIR-V code, formatted and packed as described by https://www.khronos.org/registry/spir-v/specs/1.0/SPIRV.html[the SPIR-V Specification v1.0] * pname:pCode must: adhere to the validation rules described by the <> section of the <> appendix * pname:pCode must: declare the code:Shader capability * pname:pCode mustnot: declare any capability that is not supported by the API, as described by the <> section of the <> appendix * If pname:pCode declares any of the capabilities that are listed as not required by the implementation, the relevant feature must: be enabled, as listed in the <> appendix ifndef::doctype-manpage[] ******************************************************************************** endif::doctype-manpage[]