aboutsummaryrefslogtreecommitdiff
path: root/extensions/ANGLE_robust_fragment_shader_output.txt
blob: aed92d7ff435a18c7fb900a2e2ea5ce592a81b9d (plain)
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
Name

    ANGLE_robust_fragment_shader_output

Name Strings

    GL_ANGLE_robust_fragment_shader_output

Contributors

    Jamie Madill

Contact

    Jamie Madill (jmadill 'at' google.com)

Notice

    Copyright (c) 2021 The Khronos Group Inc. Copyright terms at
        http://www.khronos.org/registry/speccopyright.html

Status

    Draft

Version

    Version 1, October 15, 2021

Number

    OpenGL ES Extension #??

Dependencies

    Requires OpenGL ES 3.0

    Written against the OpenGL ES 3.2 specification.

Overview

    This extension allows the OpenGL context to indicate if it supports rendering
    defined pixel values when there's an interface mismatch between the fragment
    shader and the draw framebuffer.

New Procedures and Functions

    None

New Tokens

    Accepted by the <cap> parameter to IsEnabled and the <pname> parameter to
    GetBooleanv, GetIntegerv, GetFloatv, and GetInteger64v:

    ROBUST_FRAGMENT_SHADER_OUTPUT_ANGLE             0x96B9

Additions to the OpenGL ES Specification

    Add to the end of section 15.2.1 "Selecting Buffers for Writing"

    If the fragment shader does not declare output variables that would be
    written to a bound draw buffer, the contents of the bound draw buffer
    remain unchanged.

New State

    Modify Table 6.22, Miscellaneous

    Add:

                                                         Initial
    Get Value                           Type Get Command Value   Description
    ----------------------------------- ---- ----------- ------- ---------------------
    ROBUST_FRAGMENT_SHADER_OUTPUT_ANGLE  B    IsEnabled   TRUE    Robust fragment outputs

Conformance Tests

    TBD

Issues

    None

Revision History

    Rev.    Date         Author                 Changes
    ----  -------------  ---------              ----------------------------------------
      1   Oct 15, 2021   jmadill              Initial version