Enum

VkShaderInfoTypeAMD

Enum specifying which type of shader information to query

Possible values of vkGetShaderInfoAMD::infoType, specifying the information being queried from a shader, are:

typedef enum VkShaderInfoTypeAMD {
    VK_SHADER_INFO_TYPE_STATISTICS_AMD = 0,
    VK_SHADER_INFO_TYPE_BINARY_AMD = 1,
    VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD = 2,
} VkShaderInfoTypeAMD;
  • VK_SHADER_INFO_TYPE_STATISTICS_AMD specifies that device resources used by a shader will be queried.
  • VK_SHADER_INFO_TYPE_BINARY_AMD specifies that implementation-specific information will be queried.
  • VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD specifies that human-readable disassembly of a shader.