Enum
VkShaderCodeTypeEXT
Indicate a shader code type
Shader objects can be created using different types of shader code.
Possible values of VkShaderCreateInfoEXT::codeType
, are:
typedef enum VkShaderCodeTypeEXT {
VK_SHADER_CODE_TYPE_BINARY_EXT = 0,
VK_SHADER_CODE_TYPE_SPIRV_EXT = 1,
} VkShaderCodeTypeEXT;
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.