Safe Haskell | None |
---|---|
Language | Haskell2010 |
Name
VK_EXT_image_robustness - device extension
VK_EXT_image_robustness
- Name String
VK_EXT_image_robustness
- Extension Type
- Device extension
- Registered Extension Number
- 336
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Contact
Other Extension Metadata
- Last Modified Date
- 2020-04-27
- IP Status
- No known IP claims.
- Contributors
- Graeme Leese, Broadcom
- Jan-Harald Fredriksen, ARM
- Jeff Bolz, NVIDIA
- Spencer Fricke, Samsung
- Courtney Goeltzenleuchter, Google
- Slawomir Cygan, Intel
Description
This extension adds stricter requirements for how out of bounds reads from images are handled. Rather than returning undefined values, most out of bounds reads return R, G, and B values of zero and alpha values of either zero or one. Components not present in the image format may be set to zero or to values based on the format as described in Conversion to RGBA.
New Structures
New Enum Constants
Issues
- How does this extension differ from VK_EXT_robustness2?
The guarantees provided by this extension are a subset of those provided by the robustImageAccess2 feature of VK_EXT_robustness2. Where this extension allows return values of (0, 0, 0, 0) or (0, 0, 0, 1), robustImageAccess2 requires that a particular value dependent on the image format be returned. This extension provides no guarantees about the values returned for an access to an invalid Lod.
Examples
None.
Version History
Revision 1, 2020-04-27 (Graeme Leese)
- Initial draft
See Also
PhysicalDeviceImageRobustnessFeaturesEXT
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 PhysicalDeviceImageRobustnessFeaturesEXT = PhysicalDeviceImageRobustnessFeaturesEXT {}
- type EXT_IMAGE_ROBUSTNESS_SPEC_VERSION = 1
- pattern EXT_IMAGE_ROBUSTNESS_SPEC_VERSION :: forall a. Integral a => a
- type EXT_IMAGE_ROBUSTNESS_EXTENSION_NAME = "VK_EXT_image_robustness"
- pattern EXT_IMAGE_ROBUSTNESS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceImageRobustnessFeaturesEXT Source #
VkPhysicalDeviceImageRobustnessFeaturesEXT - Structure describing the out-of-bounds behavior for an implementation
Members
The members of the PhysicalDeviceImageRobustnessFeaturesEXT
structure
describe the following features:
Description
If the PhysicalDeviceImageRobustnessFeaturesEXT
structure is included
in the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with values indicating whether the feature is supported.
Valid Usage (Implicit)
See Also
PhysicalDeviceImageRobustnessFeaturesEXT | |
|
Instances
type EXT_IMAGE_ROBUSTNESS_SPEC_VERSION = 1 Source #
pattern EXT_IMAGE_ROBUSTNESS_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_IMAGE_ROBUSTNESS_EXTENSION_NAME = "VK_EXT_image_robustness" Source #
pattern EXT_IMAGE_ROBUSTNESS_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #