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

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

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_NV_linear_color_attachment

Name

VK_NV_linear_color_attachment - device extension

VK_NV_linear_color_attachment

Name String

VK_NV_linear_color_attachment

Extension Type

Device extension

Registered Extension Number

431

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_get_physical_device_properties2

or

Vulkan Version 1.1

API Interactions
  • Interacts with VK_VERSION_1_3

  • Interacts with VK_KHR_format_feature_flags2

Contact

Other Extension Metadata

Last Modified Date

2021-12-02

Interactions and External Dependencies
  • This extension requires VK_KHR_format_feature_flags2

Contributors
  • Pat Brown, NVIDIA

  • Piers Daniell, NVIDIA

  • Sourav Parmar, NVIDIA

Description

This extension expands support for using IMAGE_TILING_LINEAR images as color attachments when all the color attachments in the render pass instance have IMAGE_TILING_LINEAR tiling. This extension adds a new flag bit FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV that extends the existing FormatFeatureFlagBits2KHR bits. This flag can be set for renderable color formats in the FormatProperties3KHR::linearTilingFeatures format properties structure member. Formats with the FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV flag may be used as color attachments as long as all the color attachments in the render pass instance have IMAGE_TILING_LINEAR tiling, and the formats their images views are created with have FormatProperties3KHR::linearTilingFeatures which include FORMAT_FEATURE_2_LINEAR_COLOR_ATTACHMENT_BIT_NV. This extension supports both dynamic rendering and traditional render passes.

New Structures

New Enum Constants

If VK_KHR_format_feature_flags2 or Vulkan Version 1.3 is supported:

Version History

  • Revision 1, 2021-11-29 (sourav parmar)

    • Initial draft

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.

  • 3 types
  • Packagevulkan-3.27
  • Exports5
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_NV_linear_color_attachment.hs

VkPhysicalDeviceLinearColorAttachmentFeaturesNV - Structure describing whether Linear Color Attachment rendering is supported by the implementation

Members

This structure describes the following feature:

Description

If the PhysicalDeviceLinearColorAttachmentFeaturesNV 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 PhysicalDeviceLinearColorAttachmentFeaturesNV, 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_NV_linear_color_attachment, Bool32, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero