HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_EXT_image_sliced_view_of_3d

Name

VK_EXT_image_sliced_view_of_3d - device extension

VK_EXT_image_sliced_view_of_3d

Name String

VK_EXT_image_sliced_view_of_3d

Extension Type

Device extension

Registered Extension Number

419

Revision

1

Ratification Status

Ratified

Extension and Version Dependencies

VK_KHR_maintenance1      and

VK_KHR_get_physical_device_properties2 or Vulkan Version 1.1

Special Use
Contact
Extension Proposal

VK_EXT_image_sliced_view_of_3d

Other Extension Metadata

Last Modified Date

2023-01-24

IP Status

No known IP claims.

Contributors
  • Mike Blumenkrantz, Valve

  • Hans-Kristian Arntzen, Valve

  • Ricardo Garcia, Igalia

  • Shahbaz Youssefi, Google

  • Piers Daniell, NVIDIA

Description

This extension allows creating 3D views of 3D images such that the views contain a subset of the slices in the image, using a Z offset and range, for the purpose of using the views as storage image descriptors. This matches functionality in D3D12 and is primarily intended to support D3D12 emulation.

New Structures

New Enum Constants

Version History

  • Revision 1, 2022-10-21 (Mike Blumenkrantz)

    • Initial revision

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

  • 5 types
  • Packagevulkan-3.27
  • Exports8
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_EXT_image_sliced_view_of_3d.hs

VkImageViewSlicedCreateInfoEXT - Specify the subset of 3D slices of an image view

Description

When this structure is chained to ImageViewCreateInfo the sliceOffset field is treated as a Z-offset for the sliced view and sliceCount specifies the range. Shader accesses using a Z coordinate of 0 will access the depth slice corresponding to sliceOffset in the image, and in a shader, the maximum in-bounds Z coordinate for the view is sliceCount - 1.

A sliced 3D view must only be used with a single mip level. The slice coordinates are integer coordinates within the subresourceRange.baseMipLevel used to create the image view.

The effective view depth is equal to extent.depth used to create the image for this view adjusted by subresourceRange.baseMipLevel as specified in Image Mip Level Sizing.

Shader access to this image view is only affected by ImageViewSlicedCreateInfoEXT if it uses a descriptor of type DESCRIPTOR_TYPE_STORAGE_IMAGE. For access using any other descriptor type, the contents of ImageViewSlicedCreateInfoEXT are ignored; instead, sliceOffset is treated as being equal to 0, and sliceCount is treated as being equal to REMAINING_3D_SLICES_EXT.

Valid Usage

Valid Usage (Implicit)

Structure Chaining

Extends the structure

See Also

VK_EXT_image_sliced_view_of_3d, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT - Structure describing whether slice-based views of 3D images can be used in storage image descriptors

Members

The members of the PhysicalDeviceImageSlicedViewOf3DFeaturesEXT structure describe the following features:

Description

If the PhysicalDeviceImageSlicedViewOf3DFeaturesEXT structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. If the application wishes to use a Device with any features described by PhysicalDeviceImageSlicedViewOf3DFeaturesEXT, it must add an instance of the structure, with the desired feature members set to TRUE, to the pNext chain of DeviceCreateInfo when creating the Device.

Structure Chaining

Extends the structures

See Also

VK_EXT_image_sliced_view_of_3d, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero