• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2019-2021 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5include::{generated}/meta/{refprefix}VK_EXT_image_robustness.txt[]
6
7=== Other Extension Metadata
8
9*Last Modified Date*::
10    2020-04-27
11*IP Status*::
12    No known IP claims.
13*Contributors*::
14    - Graeme Leese, Broadcom
15    - Jan-Harald Fredriksen, ARM
16    - Jeff Bolz, NVIDIA
17    - Spencer Fricke, Samsung
18    - Courtney Goeltzenleuchter, Google
19    - Slawomir Cygan, Intel
20
21=== Description
22
23This extension adds stricter requirements for how out of bounds reads from
24images are handled.
25Rather than returning undefined values, most out of bounds reads return R,
26G, and B values of zero and alpha values of either zero or one.
27Components not present in the image format may be set to zero or to values
28based on the format as described in <<textures-conversion-to-rgba,
29Conversion to RGBA>>.
30
31include::{generated}/interfaces/VK_EXT_image_robustness.txt[]
32
33=== Issues
34
351. How does this extension differ from VK_EXT_robustness2?
36
37The guarantees provided by this extension are a subset of those provided by
38the robustImageAccess2 feature of VK_EXT_robustness2.
39Where this extension allows return values of (0, 0, 0, 0) or (0, 0, 0, 1),
40robustImageAccess2 requires that a particular value dependent on the image
41format be returned.
42This extension provides no guarantees about the values returned for an
43access to an invalid Lod.
44
45=== Examples
46
47None.
48
49=== Version History
50
51    * Revision 1, 2020-04-27 (Graeme Leese)
52        - Initial draft
53