vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Description

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

New Enum Constants

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

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

VK_QCOM_fragment_density_map_offset, Bool32, StructureType

Instances

Instances details
Storable PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Show PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Eq PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

FromCStruct PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

ToCStruct PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Zero PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

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

Constructors

PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM 

Fields

Instances

Instances details
Storable PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Show PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

FromCStruct PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

ToCStruct PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Zero PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

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 equal 0

Valid Usage (Implicit)

  • If fragmentDensityOffsetCount is not 0, pFragmentDensityOffsets must be a valid pointer to an array of fragmentDensityOffsetCount Offset2D structures

See Also

VK_QCOM_fragment_density_map_offset, Offset2D, StructureType

Constructors

SubpassFragmentDensityMapOffsetEndInfoQCOM 

Fields

Instances

Instances details
Show SubpassFragmentDensityMapOffsetEndInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

FromCStruct SubpassFragmentDensityMapOffsetEndInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

ToCStruct SubpassFragmentDensityMapOffsetEndInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

Zero SubpassFragmentDensityMapOffsetEndInfoQCOM Source # 
Instance details

Defined in Vulkan.Extensions.VK_QCOM_fragment_density_map_offset

type QCOM_FRAGMENT_DENSITY_MAP_OFFSET_EXTENSION_NAME = "VK_QCOM_fragment_density_map_offset" Source #