aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/GL4x.xml
blob: 2116286b35fa1bae8a1319946a4b4b89075bb194 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<!-- Note: no GLX protocol info yet. -->

<OpenGLAPI>

<category name="4.0">
  <enum name="SAMPLE_SHADING"                          value="0x8C36"/>
  <enum name="MIN_SAMPLE_SHADING_VALUE"                value="0x8C37"/>

  <function name="MinSampleShading" es2="3.2" no_error="true">
    <param name="value" type="GLfloat"/>
  </function>

  <function name="BlendFunci" alias="BlendFunciARB" es2="3.2">
    <param name="buf" type="GLuint"/>
    <param name="sfactor" type="GLenum"/>
    <param name="dfactor" type="GLenum"/>
  </function>

  <function name="BlendFuncSeparatei" alias="BlendFuncSeparateiARB" es2="3.2">
    <param name="buf" type="GLuint"/>
    <param name="sfactorRGB" type="GLenum"/>
    <param name="dfactorRGB" type="GLenum"/>
    <param name="sfactorAlpha" type="GLenum"/>
    <param name="dfactorAlpha" type="GLenum"/>
  </function>

  <function name="BlendEquationi" alias="BlendEquationiARB" es2="3.2">
    <param name="buf" type="GLuint"/>
    <param name="mode" type="GLenum"/>
  </function>

  <function name="BlendEquationSeparatei" alias="BlendEquationSeparateiARB" es2="3.2">
    <param name="buf" type="GLuint"/>
    <param name="modeRGB" type="GLenum"/>
    <param name="modeA" type="GLenum"/>
  </function>

</category>

<category name="4.3">
  <enum name="SHADER_STORAGE_BARRIER_BIT"                value="0x2000" />
  <enum name="NUM_SHADING_LANGUAGE_VERSIONS"             value="0x82E9" />
  <enum name="MAX_COMBINED_SHADER_OUTPUT_RESOURCES"      value="0x8F39" />
  <enum name="SHADER_STORAGE_BUFFER"                     value="0x90D2"/>
  <enum name="SHADER_STORAGE_BUFFER_BINDING"             value="0x90D3"/>
  <enum name="SHADER_STORAGE_BUFFER_START"               value="0x90D4"/>
  <enum name="SHADER_STORAGE_BUFFER_SIZE"                value="0x90D5"/>
  <enum name="MAX_VERTEX_SHADER_STORAGE_BLOCKS"          value="0x90D6" />
  <enum name="MAX_GEOMETRY_SHADER_STORAGE_BLOCKS"        value="0x90D7" />
  <enum name="MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS"    value="0x90D8" />
  <enum name="MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS" value="0x90D9" />
  <enum name="MAX_FRAGMENT_SHADER_STORAGE_BLOCKS"        value="0x90DA" />
  <enum name="MAX_COMPUTE_SHADER_STORAGE_BLOCKS"         value="0x90DB" />
  <enum name="MAX_COMBINED_SHADER_STORAGE_BLOCKS"        value="0x90DC" />
  <enum name="MAX_SHADER_STORAGE_BUFFER_BINDINGS"        value="0x90DD" />
  <enum name="MAX_SHADER_STORAGE_BLOCK_SIZE"             value="0x90DE" />
  <enum name="SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT"    value="0x90DF" />
  <enum name="DEPTH_STENCIL_TEXTURE_MODE"                value="0x90EA"/>
</category>

<category name="4.5">
  <function name="MemoryBarrierByRegion" es2="3.1" no_error="true">
    <param name="barriers" type="GLbitfield"/>
  </function>
</category>

<category name="4.6">
  <enum name="PARAMETER_BUFFER"                          value="0x80EE"/>
  <enum name="PARAMETER_BUFFER_BINDING"                  value="0x80EF"/>
  <enum name="POLYGON_OFFSET_CLAMP"                      value="0x8E1B"/>
  <enum name="SHADER_BINARY_FORMAT_SPIR_V"               value="0x9551"/>
  <enum name="SPIR_V_BINARY"                             value="0x9552"/>

  <!-- This function aliases one from GL_EXT_polygon_offset_clamp -->

  <function name="PolygonOffsetClamp" alias="PolygonOffsetClampEXT">
    <param name="factor" type="GLfloat"/>
    <param name="units" type="GLfloat"/>
    <param name="clamp" type="GLfloat"/>
  </function>

  <!-- This function aliases one from GL_ARB_gl_spirv -->

  <function name="SpecializeShader" alias="SpecializeShaderARB">
    <param name="shader" type="GLuint"/>
    <param name="pEntryPoint" type="const GLchar *"/>
    <param name="numSpecializationConstants" type="GLuint"/>
    <param name="pConstantIndex" type="const GLuint *"/>
    <param name="pConstantValue" type="const GLuint *"/>
  </function>

  <!-- These functions alias ones from GL_ARB_indirect_parameters -->

  <function name="MultiDrawArraysIndirectCount"
            alias="MultiDrawArraysIndirectCountARB">
    <param name="mode" type="GLenum"/>
    <param name="indirect" type="GLintptr"/>
    <param name="drawcount" type="GLintptr"/>
    <param name="maxdrawcount" type="GLsizei"/>
    <param name="stride" type="GLsizei"/>
  </function>

  <function name="MultiDrawElementsIndirectCount"
            alias="MultiDrawElementsIndirectCountARB">
    <param name="mode" type="GLenum"/>
    <param name="type" type="GLenum"/>
    <param name="indirect" type="GLintptr"/>
    <param name="drawcount" type="GLintptr"/>
    <param name="maxdrawcount" type="GLsizei"/>
    <param name="stride" type="GLsizei"/>
  </function>
</category>

</OpenGLAPI>