C Specification

The VkPhysicalDeviceShaderUntypedPointersFeaturesKHR structure is defined as:

// Provided by VK_KHR_shader_untyped_pointers
typedef struct VkPhysicalDeviceShaderUntypedPointersFeaturesKHR {
    VkStructureType    sType;
    void*              pNext;
    VkBool32           shaderUntypedPointers;
} VkPhysicalDeviceShaderUntypedPointersFeaturesKHR;

Members

The members of VkPhysicalDeviceShaderUntypedPointersFeaturesKHR describe the following features:

Description

  • shaderUntypedPointers specifies whether shader modules can declare the UntypedPointersKHR capability and untyped pointers in any explicitly laid out storage class.

If the VkPhysicalDeviceShaderUntypedPointersFeaturesKHR structure is included in the pNext chain of VkPhysicalDeviceFeatures2, it is filled with values indicating whether the features are supported. VkPhysicalDeviceShaderUntypedPointersFeaturesKHR can also be included in the pNext chain of VkDeviceCreateInfo to enable the features.

Valid Usage (Implicit)
  • VUID-VkPhysicalDeviceShaderUntypedPointersFeaturesKHR-sType-sType
    sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNTYPED_POINTERS_FEATURES_KHR

See Also

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 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0