VkShaderCodeTypeEXT(3)

# VkShaderCodeTypeEXT(3) Manual Page

## Name

VkShaderCodeTypeEXT - Indicate a shader code type

Loading… please wait.

## C Specification

Shader objects can be created using different types of shader code. Possible values of VkShaderCreateInfoEXT::`codeType`, are:

    // Provided by VK_EXT_shader_object
    typedef enum VkShaderCodeTypeEXT {
        VK_SHADER_CODE_TYPE_BINARY_EXT = 0,
        VK_SHADER_CODE_TYPE_SPIRV_EXT = 1,
    } VkShaderCodeTypeEXT;

## Description

- VK_SHADER_CODE_TYPE_BINARY_EXT specifies shader code in an opaque, implementation-defined binary format specific to the physical device.

- VK_SHADER_CODE_TYPE_SPIRV_EXT specifies shader code in SPIR-V format.

## See Also

VK_EXT_shader_object, VkShaderCreateInfoEXT

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0