VKSHADERMODULECREATE(3)

NAME
VkShaderModuleCreateInfo - Stub page (not yet written)

C SPECIFICATION

    typedef struct VkShaderModuleCreateInfo {
        VkStructureType              sType;
        const void*                  pNext;
        VkShaderModuleCreateFlags    flags;
        size_t                       codeSize;
        const uint32_t*              pCode;
    } VkShaderModuleCreateInfo;

This is a stub page. Content has not been filled in yet. Khronos is aware of the problem and working on it as time allows; please do not file Github issues bringing the missing content to our attention.

FIELDS

DESCRIPTION

VALID USAGE

    • sType must be VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO

    • pNext must be NULL

    • flags must be 0

    • pCode must be a pointer to an array of [ $codeSize uint32_t values

    • codeSize must be greater than 0

    • codeSize must be a multiple of 4

    • pCode must point to valid SPIR-V code, formatted and packed as described by the SPIR-V Specification v1.0

    • pCode must adhere to the validation rules described by the Validation Rules within a Module section of the SPIR-V Environment appendix

    • pCode must declare the Shader capability

    • pCode must not declare any capability that is not supported by the API, as described by the Capabilities section of the SPIR-V Environment appendix

    • If 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 SPIR-V Environment appendix

SEE ALSO

COPYRIGHT

Copyright © 2014-2016 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.

AUTHOR

Khronos Group
    Author.