Modulevulkan-3.27GHC2021
Vulkan.Extensions.VK_ANDROID_external_format_resolve
Name
VK_ANDROID_external_format_resolve - device extension
VK_ANDROID_external_format_resolve
- Name String
VK_ANDROID_external_format_resolve
- Extension Type
Device extension
- Registered Extension Number
469
- Revision
1
- Ratification Status
Not ratified
- Extension and Version Dependencies
- API Interactions
Interacts with VK_VERSION_1_3
Interacts with VK_KHR_dynamic_rendering
- Special Use
- Contact
- Extension Proposal
Other Extension Metadata
- Last Modified Date
2023-05-03
- IP Status
No known IP claims.
- Contributors
Tobias Hector, AMD
Chris Forbes, Google
Jan-Harald Fredriksen, Arm
Shahbaz Youssefi, Google
Matthew Netsch, Qualcomm
Tony Zlatsinki, Nvidia
Daniel Koch, Nvidia
Jeff Leger, Qualcomm
Alex Walters, Imagination
Andrew Garrard, Imagination
Ralph Potter, Samsung
Ian Elliott, Google
Description
This extension enables rendering to Android Hardware Buffers with external formats which cannot be directly represented as renderable in Vulkan, including Y′CBCR formats.
New Structures
Extending AndroidHardwareBufferPropertiesANDROID:
Extending PhysicalDeviceFeatures2, DeviceCreateInfo:
Extending PhysicalDeviceProperties2:
New Enum Constants
Extending StructureType:
If VK_KHR_dynamic_rendering or Vulkan Version 1.3 is supported:
Extending ResolveModeFlagBits:
Version History
Revision 1, 2023-05-34 (Tobias Hector)
Initial version
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_ANDROID_external_format_resolve.hs
VkPhysicalDeviceExternalFormatResolveFeaturesANDROID - Structure describing whether external format resolves are supported
Description
If the PhysicalDeviceExternalFormatResolveFeaturesANDROID 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
PhysicalDeviceExternalFormatResolveFeaturesANDROID, 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
See Also
Constructors
PhysicalDeviceExternalFormatResolveFeaturesANDROIDexternalFormatResolve :: BoolexternalFormatResolvespecifies whether external format resolves are supported.
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveShow PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveStorable PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveFromCStruct PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveToCStruct PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveZero PhysicalDeviceExternalFormatResolveFeaturesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolve
VkPhysicalDeviceExternalFormatResolvePropertiesANDROID - Structure describing external format resolve supported by an implementation
Description
If the PhysicalDeviceExternalFormatResolvePropertiesANDROID structure
is included in the pNext chain of the
PhysicalDeviceProperties2
structure passed to
getPhysicalDeviceProperties2,
it is filled in with each corresponding implementation-dependent
property.
Structure Chaining
See Also
VK_ANDROID_external_format_resolve, Bool32, ChromaLocation, StructureType
Constructors
PhysicalDeviceExternalFormatResolvePropertiesANDROIDnullColorAttachmentWithExternalFormatResolve :: BoolnullColorAttachmentWithExternalFormatResolveindicates that there must be no color attachment image when performing external format resolves if it is TRUE.externalFormatResolveChromaOffsetX :: ChromaLocationexternalFormatResolveChromaOffsetXindicates the ChromaLocation that an implementation uses in the X axis for accesses to an external format image as a resolve attachment. This must be consistent between external format resolves and load operations from external format resolve attachments to color attachments whennullColorAttachmentWithExternalFormatResolveis TRUE.externalFormatResolveChromaOffsetY :: ChromaLocationexternalFormatResolveChromaOffsetYindicates the ChromaLocation that an implementation uses in the Y axis for accesses to an external format image as a resolve attachment. This must be consistent between external format resolves and load operations from external format resolve attachments to color attachments whennullColorAttachmentWithExternalFormatResolveis TRUE.
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveShow PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveStorable PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveFromCStruct PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveToCStruct PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveZero PhysicalDeviceExternalFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolve
VkAndroidHardwareBufferFormatResolvePropertiesANDROID - Structure defining properties of resolves using an external format
Description
Any Android hardware buffer created with the GRALLOC_USAGE_HW_RENDER
flag must be renderable in some way in Vulkan, either:
AndroidHardwareBufferFormatPropertiesANDROID::
formatmust be a format that supports FORMAT_FEATURE_COLOR_ATTACHMENT_BIT or FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT in FormatProperties::optimalTilingFeatures; orcolorAttachmentFormatmust be a format that supports FORMAT_FEATURE_COLOR_ATTACHMENT_BIT in FormatProperties::optimalTilingFeatures.
Valid Usage (Implicit)
Structure Chaining
See Also
Constructors
AndroidHardwareBufferFormatResolvePropertiesANDROIDcolorAttachmentFormat :: FormatcolorAttachmentFormatis a Format specifying the format of color attachment images that must be used for color attachments when resolving to the specified external format. If the implementation supports external format resolves for the specified external format, this value will be a color format supporting the FORMAT_FEATURE_COLOR_ATTACHMENT_BIT in FormatProperties::optimalTilingFeaturesas returned by getPhysicalDeviceFormatProperties withformatequal tocolorAttachmentFormatIf external format resolves are not supported, this value will be FORMAT_UNDEFINED.
Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero
Eq AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveShow AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveStorable AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveFromCStruct AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveToCStruct AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolveZero AndroidHardwareBufferFormatResolvePropertiesANDROIDDefined in vulkan-3.27 · Vulkan.Extensions.VK_ANDROID_external_format_resolve