336

1

Extension and Version Dependencies

• Requires Vulkan 1.0

• Requires VK_KHR_get_physical_device_properties2

2020-04-27

IP Status

No known IP claims.

Contributors

• Jan-Harald Fredriksen, ARM

• Jeff Bolz, NVIDIA

• Spencer Fricke, Samsung

• 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 Enum Constants

• VK_EXT_IMAGE_ROBUSTNESS_EXTENSION_NAME

• VK_EXT_IMAGE_ROBUSTNESS_SPEC_VERSION

• Extending VkStructureType:

• VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES_EXT

Issues

1. 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.

None.

Version History

• Revision 1, 2020-04-27 (Graeme Leese)

• Initial draft