Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_QCOM_fragment_density_map_offset - device extension
VK_QCOM_fragment_density_map_offset
- Name String
VK_QCOM_fragment_density_map_offset
- Extension Type
- Device extension
- Registered Extension Number
- 426
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_KHR_get_physical_device_properties2 and VK_EXT_fragment_density_map
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-09-03
- Contributors
- Matthew Netsch, Qualcomm Technologies, Inc.
- Jonathan Wicks, Qualcomm Technologies, Inc.
- Jonathan Tinkham, Qualcomm Technologies, Inc.
- Jeff Leger, Qualcomm Technologies, Inc.
Description
This extension allows an application to specify offsets to a fragment density map attachment, changing the framebuffer location where density values are applied to without having to regenerate the fragment density map.
New Structures
Extending
PhysicalDeviceFeatures2
,DeviceCreateInfo
:
Extending
PhysicalDeviceProperties2
:Extending
SubpassEndInfo
:
New Enum Constants
QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION
Extending
ImageCreateFlagBits
:Extending
StructureType
:
Version History
Revision 1, 2021-09-03 (Matthew Netsch)
- Initial version
See Also
PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
,
PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
,
SubpassFragmentDensityMapOffsetEndInfoQCOM
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 PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM = PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM {}
- data PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM = PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM {}
- data SubpassFragmentDensityMapOffsetEndInfoQCOM = SubpassFragmentDensityMapOffsetEndInfoQCOM {}
- type QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION = 1
- pattern QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION :: forall a. Integral a => a
- type QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME = "VK_QCOM_fragment_density_map_offset"
- pattern QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source #
VkPhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM - Structure describing fragment density map offset features that can be supported by an implementation
Members
This structure describes the following feature:
Description
If the PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
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. PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM
can
also be used in the pNext
chain of
DeviceCreateInfo
to selectively enable these
features.
Valid Usage (Implicit)
See Also
Instances
data PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source #
VkPhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM - Structure describing fragment density map offset properties that can be supported by an implementation
Description
If the PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM
structure
is included in the pNext
chain of the
PhysicalDeviceProperties2
structure passed to
getPhysicalDeviceProperties2
,
it is filled in with each corresponding implementation-dependent
property.
Valid Usage (Implicit)
See Also
VK_QCOM_fragment_density_map_offset,
Extent2D
,
StructureType
PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM | |
|
Instances
data SubpassFragmentDensityMapOffsetEndInfoQCOM Source #
VkSubpassFragmentDensityMapOffsetEndInfoQCOM - Structure specifying fragment density map offset subpass end information
Description
The array elements are given per layer
as defined by
Fetch Density Value,
where index = layer. Each (x,y) offset is in framebuffer pixels and
shifts the fetch of the fragment density map by that amount. Offsets can
be positive or negative.
Offset values specified for any subpass that is not the last subpass in
the render pass are ignored. If the
SubpassEndInfo
::pNext
chain for the last subpass of a render pass does not include
SubpassFragmentDensityMapOffsetEndInfoQCOM
, or if
fragmentDensityOffsetCount
is zero, then the offset (0,0) is used for
Fetch Density Value.
Valid Usage
-
If the
fragmentDensityMapOffsets
feature is not enabled or fragment density map is not enabled in the
render pass,
fragmentDensityOffsetCount
must equal0
-
If
SubpassDescription
::fragmentDensityMapAttachment
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If
SubpassDescription
::pDepthStencilAttachment
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If any element of
SubpassDescription
::pInputAttachments
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If any element of
SubpassDescription
::pColorAttachments
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If any element of
SubpassDescription
::pResolveAttachments
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If any element of
SubpassDescription
::pPreserveAttachments
is not is notATTACHMENT_UNUSED
and was not created withIMAGE_CREATE_FRAGMENT_DENSITY_MAP_OFFSET_BIT_QCOM
,fragmentDensityOffsetCount
must equal0
-
If
fragmentDensityOffsetCount
is not0
and multiview is enabled for the render pass,fragmentDensityOffsetCount
must equal thelayerCount
that was specified in creating the fragment density map attachment view -
If
fragmentDensityOffsetCount
is not0
and multiview is not enabled for the render pass,fragmentDensityOffsetCount
must equal1
- The
x
component of each element ofpFragmentDensityOffsets
must be an integer multiple offragmentDensityOffsetGranularity.width
- The
y
component of each element ofpFragmentDensityOffsets
must be an integer multiple offragmentDensityOffsetGranularity.height
Valid Usage (Implicit)
-
If
fragmentDensityOffsetCount
is not0
,pFragmentDensityOffsets
must be a valid pointer to an array offragmentDensityOffsetCount
Offset2D
structures
See Also
VK_QCOM_fragment_density_map_offset,
Offset2D
,
StructureType
SubpassFragmentDensityMapOffsetEndInfoQCOM | |
|
Instances
pattern QCOM_FRAGMENT_DENSITY_MAP_OFFSET_SPEC_VERSION :: forall a. Integral a => a Source #
type QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME = "VK_QCOM_fragment_density_map_offset" Source #
pattern QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #