15bd8deadSopenharmony_ciName
25bd8deadSopenharmony_ci
35bd8deadSopenharmony_ci    QCOM_render_shared_exponent
45bd8deadSopenharmony_ci
55bd8deadSopenharmony_ciName Strings
65bd8deadSopenharmony_ci
75bd8deadSopenharmony_ci    GL_QCOM_render_shared_exponent
85bd8deadSopenharmony_ci
95bd8deadSopenharmony_ciContributors
105bd8deadSopenharmony_ci
115bd8deadSopenharmony_ci    Ashish Mathur
125bd8deadSopenharmony_ci    Tate Hornbeck
135bd8deadSopenharmony_ci
145bd8deadSopenharmony_ciContact
155bd8deadSopenharmony_ci
165bd8deadSopenharmony_ci    Jeff Leger - jleger 'at' qti.qualcomm.com
175bd8deadSopenharmony_ci
185bd8deadSopenharmony_ciStatus
195bd8deadSopenharmony_ci
205bd8deadSopenharmony_ci    Final
215bd8deadSopenharmony_ci
225bd8deadSopenharmony_ciVersion
235bd8deadSopenharmony_ci
245bd8deadSopenharmony_ci    Last Modified Date: Novemeber 24, 2020
255bd8deadSopenharmony_ci    Revision:  #3
265bd8deadSopenharmony_ci
275bd8deadSopenharmony_ciNumber
285bd8deadSopenharmony_ci
295bd8deadSopenharmony_ci    OpenGL ES Extension #334
305bd8deadSopenharmony_ci
315bd8deadSopenharmony_ciDependencies
325bd8deadSopenharmony_ci
335bd8deadSopenharmony_ci    OpenGL ES 3.0 is required. This extension is written against OpenGL ES 3.2.
345bd8deadSopenharmony_ci
355bd8deadSopenharmony_ciOverview
365bd8deadSopenharmony_ci
375bd8deadSopenharmony_ci    OpenGL ES 3.2 supports a packed, shared exponent floating format RGB9_E5
385bd8deadSopenharmony_ci    which is not color-renderable.
395bd8deadSopenharmony_ci
405bd8deadSopenharmony_ci    This extension enables the packed, shared exponent floating type format RGB9_E5
415bd8deadSopenharmony_ci    to be color-renderable using framebuffer objects.
425bd8deadSopenharmony_ci
435bd8deadSopenharmony_ciNew Procedures and Functions
445bd8deadSopenharmony_ci
455bd8deadSopenharmony_ci    None
465bd8deadSopenharmony_ci
475bd8deadSopenharmony_ciNew Tokens
485bd8deadSopenharmony_ci
495bd8deadSopenharmony_ci    Accepted by the <internalFormat> parameter of RenderbufferStorage:
505bd8deadSopenharmony_ci    GL_RGB9_E5                        0x8C3D
515bd8deadSopenharmony_ci
525bd8deadSopenharmony_ciAdditions to Chapter 8 of the OpenGL  ES 3.2 Specification
535bd8deadSopenharmony_ci(Textures and Samplers)
545bd8deadSopenharmony_ci
555bd8deadSopenharmony_ci    Modification in Table 8.10, p.163, 164
565bd8deadSopenharmony_ci    Convert the spaces under 'CR' and 'Req. rend.' to a 'check' for the
575bd8deadSopenharmony_ci    internal format RGB9_E5.
585bd8deadSopenharmony_ci
595bd8deadSopenharmony_ci    Insert at the top (first) row in Table 8.14, p. 172.
605bd8deadSopenharmony_ci    Destination     | Source   | Source     | Source    | Source     | Effective
615bd8deadSopenharmony_ci    Internal Format | Red Size | Green Size | Blue Size | Alpha Size | Internal Format
625bd8deadSopenharmony_ci    ----------------|----------|------------|-----------|------------|----------------
635bd8deadSopenharmony_ci    any sized       |  1<=R<=9 |  1<=G<=9   |  1<=B<=9  |     A=0    | RGB9_E5
645bd8deadSopenharmony_ci
655bd8deadSopenharmony_ciAdditions to Chapter 9 of the OpenGL ES 3.2 Specification
665bd8deadSopenharmony_ci(Framebuffers and Framebuffer Objects)
675bd8deadSopenharmony_ci
685bd8deadSopenharmony_ci    Modification in section 9.2.5 Required Renderbuffer Formats p. 238
695bd8deadSopenharmony_ci    Change the following bullet point from:
705bd8deadSopenharmony_ci    • For formats RGBA16F, R32F, RG32F and RGBA32F, one sample
715bd8deadSopenharmony_ci    to
725bd8deadSopenharmony_ci    • For formats RGB9_E5, RGBA16F, R32F, RG32F and RGBA32F one sample
735bd8deadSopenharmony_ci
745bd8deadSopenharmony_ci    Modifications in section 9.6 Conversion to Framebuffer-Attachable Image Components p. 255
755bd8deadSopenharmony_ci    Add the following sentence at the end of the section:
765bd8deadSopenharmony_ci    "If the format is RGB9E5 then the R, G, and B components, regardless of component masking
775bd8deadSopenharmony_ci     as described in section 15.2.2, may participate in the encoding process with the method
785bd8deadSopenharmony_ci     described in section 8.5.2."
795bd8deadSopenharmony_ci
805bd8deadSopenharmony_ci    Modifications in section 9.7 Conversion to RGBA Values p. 255
815bd8deadSopenharmony_ci    Add the following sentence at the end of the section:
825bd8deadSopenharmony_ci    "If the format is RGB9E5 then the R, G, and B components, regardless of component masking
835bd8deadSopenharmony_ci     as described in section 15.2.2, may participate in the decoding process with the method
845bd8deadSopenharmony_ci     described in section 8.22."
855bd8deadSopenharmony_ci
865bd8deadSopenharmony_ciAdditions to Chapter 20 of the OpenGL ES 3.2 Specification
875bd8deadSopenharmony_ci(Context State Queries)
885bd8deadSopenharmony_ci
895bd8deadSopenharmony_ci    Modification in section 20.3.1 Internal Format Query Parameters p. 444
905bd8deadSopenharmony_ci    In the bullet point NUM_SAMPLE_COUNTS change the following sub bullet point from:
915bd8deadSopenharmony_ci    – If internalformat is RGBA16F, R32F, RG32F, or RGBA32F, zero may be returned.
925bd8deadSopenharmony_ci    to
935bd8deadSopenharmony_ci    – If internalformat is RGB9_E5, RGBA16F, R32F, RG32F, or RGBA32F, zero may be returned.
945bd8deadSopenharmony_ci
955bd8deadSopenharmony_ci    In the bullet point SAMPLES change the following sub bullet point from:
965bd8deadSopenharmony_ci    * A value less than or equal to the value of MAX_SAMPLES, if internalformat is
975bd8deadSopenharmony_ci      RGBA16F, R32F, RG32F, or RGBA32F.
985bd8deadSopenharmony_ci    to
995bd8deadSopenharmony_ci    * A value less than or equal to the value of MAX_SAMPLES, if internalformat is
1005bd8deadSopenharmony_ci      RGB9_E5, RGBA16F, R32F, RG32F, or RGBA32F.
1015bd8deadSopenharmony_ci
1025bd8deadSopenharmony_ciErrors
1035bd8deadSopenharmony_ci
1045bd8deadSopenharmony_ci    No new errors.
1055bd8deadSopenharmony_ci
1065bd8deadSopenharmony_ciIssues
1075bd8deadSopenharmony_ci
1085bd8deadSopenharmony_ci    None
1095bd8deadSopenharmony_ci
1105bd8deadSopenharmony_ciRevision History:
1115bd8deadSopenharmony_ci
1125bd8deadSopenharmony_ci   Revision: 1 2020-07-25 (asmathur)
1135bd8deadSopenharmony_ci        initial revision
1145bd8deadSopenharmony_ci   Revision: 2 2020-10-11 (asmathur)
1155bd8deadSopenharmony_ci        version 2
1165bd8deadSopenharmony_ci   Revision: 3 2020-11-24 (asmathur)
1175bd8deadSopenharmony_ci        version 3
118