Branch
Hash :
6c41793f
Author :
Date :
2022-12-20T15:20:50
Vulkan: Use read/write depth/stencil layouts This allows an application to have depth in read-only feedback loop while stencil is being written to for example. Bug: angleproject:7899 Bug: b/192477489 Change-Id: Ic2e11d32da7c7e3a7f3cd86dbafc5c56a0dbbfd7 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4116730 Reviewed-by: Yuxin Hu <yuxinhu@google.com> Reviewed-by: Charlie Lao <cclao@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
Name
ANGLE_read_only_depth_stencil_feedback_loops
Name Strings
GL_ANGLE_read_only_depth_stencil_feedback_loops
Contributors
Jamie Madill, Google Inc.
Shahbaz Youssefi, Google Inc.
Contact
Jamie Madill, Google Inc. (jmadill 'at' google 'dot' com)
Status
WIP
Version
Last Modified Date: Dec 22, 2022
Author Revision: 1
Number
OpenGL ES Extension ###
Dependencies
OpenGL ES 3.0 is required.
The extension is written against the OpenGL ES 3.2 specification.
Overview
This extension allows defined results when reading from a depth or stencil
texture that is bound as a read-only depth or stencil buffer.
IP Status
No known IP claims.
New Procedures and Functions
None
New Tokens
None
Additions to Chapter 8 of the OpenGL ES 3.2 Specification (Textures and
Samplers)
Added to the list of conditions in 8.14.2.1 (Rendering Feedback Loops):
"The texture is not a depth texture, or the value of
DEPTH_WRITEMASK is not FALSE."
"The texture is not a stencil texture, or stencil is not being modified."
Additions to Chapter 9 of the OpenGL ES 3.1 Specification (Framebuffers and
Framebuffer Objects)
Removed from the end of section in 9.3.1 (Rendering Feedback Loops):
"Also note that even if writing to a given texture is disabled (e.g. via the color,
depth, or stencil writemasks) during rendering, a feedback loop will still occur."
Added from the end of section in 9.3.1 (Rendering Feedback Loops):
"Note that if writing to a given depth texture is disabled (via the depth
writemask) during rendering, a feedback loop will not occur. Additionally,
if writing to a given stencil texture is disabled (via the stencil mask and ops),
a feedback loop will not occur."
Errors
None
New State
None
Issues
TBD
Revision History
Revision 2, 2022/12/22
- Adjust language to exclude read-only stencil from feedback loop
Revision 1, 2022/05/09
- Initial revision.