Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-12-02
- Interactions and External Dependencies
- This extension requires
VK_KHR_format_feature_flags2
- This extension requires
- 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 is supported:
Version History
Revision 1, 2021-11-29 (sourav parmar)
- Initial draft
See Also
PhysicalDeviceLinearColorAttachmentFeaturesNV
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.
Synopsis
- data PhysicalDeviceLinearColorAttachmentFeaturesNV = PhysicalDeviceLinearColorAttachmentFeaturesNV {}
- type NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION = 1
- pattern NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION :: forall a. Integral a => a
- type NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME = "VK_NV_linear_color_attachment"
- pattern NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceLinearColorAttachmentFeaturesNV Source #
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. PhysicalDeviceLinearColorAttachmentFeaturesNV
can also be
used in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
PhysicalDeviceLinearColorAttachmentFeaturesNV | |
|
Instances
pattern NV_LINEAR_COLOR_ATTACHMENT_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME = "VK_NV_linear_color_attachment" Source #
pattern NV_LINEAR_COLOR_ATTACHMENT_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #