Enum

VkScopeKHR

Specify SPIR-V scope

Possible values for VkScopeKHR include:

typedef enum VkScopeKHR {
    VK_SCOPE_DEVICE_KHR = 1,
    VK_SCOPE_WORKGROUP_KHR = 2,
    VK_SCOPE_SUBGROUP_KHR = 3,
    VK_SCOPE_QUEUE_FAMILY_KHR = 5,
} VkScopeKHR;

or the equivalent

#define VkScopeNV VkScopeKHR
  • VK_SCOPE_DEVICE_KHR corresponds to SPIR-V Device scope.
  • VK_SCOPE_WORKGROUP_KHR corresponds to SPIR-V Workgroup scope.
  • VK_SCOPE_SUBGROUP_KHR corresponds to SPIR-V Subgroup scope.
  • VK_SCOPE_QUEUE_FAMILY_KHR corresponds to SPIR-V QueueFamily scope.

All enum values match the corresponding SPIR-V value.