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