VkScopeKHR(3)

# VkScopeKHR(3) Manual Page

## Name

VkScopeKHR - Specify SPIR-V scope

Loading… please wait.

## C Specification

Possible values for VkScopeKHR include:

    // Provided by VK_KHR_cooperative_matrix
    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;

## Description

- `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.

## See Also

VK_KHR_cooperative_matrix, VkCooperativeMatrixPropertiesKHR

## 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-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0