1<?xml version="1.0"?> 2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> 3 4<!-- Note: no GLX protocol info yet. --> 5 6<OpenGLAPI> 7 8<category name="4.0"> 9 <enum name="SAMPLE_SHADING" value="0x8C36"/> 10 <enum name="MIN_SAMPLE_SHADING_VALUE" value="0x8C37"/> 11 12 <function name="MinSampleShading" es2="3.2" no_error="true"> 13 <param name="value" type="GLfloat"/> 14 </function> 15 16 <function name="BlendFunci" alias="BlendFunciARB" es2="3.2"> 17 <param name="buf" type="GLuint"/> 18 <param name="sfactor" type="GLenum"/> 19 <param name="dfactor" type="GLenum"/> 20 </function> 21 22 <function name="BlendFuncSeparatei" alias="BlendFuncSeparateiARB" es2="3.2"> 23 <param name="buf" type="GLuint"/> 24 <param name="sfactorRGB" type="GLenum"/> 25 <param name="dfactorRGB" type="GLenum"/> 26 <param name="sfactorAlpha" type="GLenum"/> 27 <param name="dfactorAlpha" type="GLenum"/> 28 </function> 29 30 <function name="BlendEquationi" alias="BlendEquationiARB" es2="3.2"> 31 <param name="buf" type="GLuint"/> 32 <param name="mode" type="GLenum"/> 33 </function> 34 35 <function name="BlendEquationSeparatei" alias="BlendEquationSeparateiARB" es2="3.2"> 36 <param name="buf" type="GLuint"/> 37 <param name="modeRGB" type="GLenum"/> 38 <param name="modeA" type="GLenum"/> 39 </function> 40 41</category> 42 43<category name="4.3"> 44 <enum name="SHADER_STORAGE_BARRIER_BIT" value="0x2000" /> 45 <enum name="NUM_SHADING_LANGUAGE_VERSIONS" value="0x82E9" /> 46 <enum name="MAX_COMBINED_SHADER_OUTPUT_RESOURCES" value="0x8F39" /> 47 <enum name="SHADER_STORAGE_BUFFER" value="0x90D2"/> 48 <enum name="SHADER_STORAGE_BUFFER_BINDING" value="0x90D3"/> 49 <enum name="SHADER_STORAGE_BUFFER_START" value="0x90D4"/> 50 <enum name="SHADER_STORAGE_BUFFER_SIZE" value="0x90D5"/> 51 <enum name="MAX_VERTEX_SHADER_STORAGE_BLOCKS" value="0x90D6" /> 52 <enum name="MAX_GEOMETRY_SHADER_STORAGE_BLOCKS" value="0x90D7" /> 53 <enum name="MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS" value="0x90D8" /> 54 <enum name="MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS" value="0x90D9" /> 55 <enum name="MAX_FRAGMENT_SHADER_STORAGE_BLOCKS" value="0x90DA" /> 56 <enum name="MAX_COMPUTE_SHADER_STORAGE_BLOCKS" value="0x90DB" /> 57 <enum name="MAX_COMBINED_SHADER_STORAGE_BLOCKS" value="0x90DC" /> 58 <enum name="MAX_SHADER_STORAGE_BUFFER_BINDINGS" value="0x90DD" /> 59 <enum name="MAX_SHADER_STORAGE_BLOCK_SIZE" value="0x90DE" /> 60 <enum name="SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT" value="0x90DF" /> 61 <enum name="DEPTH_STENCIL_TEXTURE_MODE" value="0x90EA"/> 62</category> 63 64<category name="4.5"> 65 <function name="MemoryBarrierByRegion" es2="3.1" no_error="true"> 66 <param name="barriers" type="GLbitfield"/> 67 </function> 68</category> 69 70<category name="4.6"> 71 <enum name="PARAMETER_BUFFER" value="0x80EE"/> 72 <enum name="PARAMETER_BUFFER_BINDING" value="0x80EF"/> 73 <enum name="POLYGON_OFFSET_CLAMP" value="0x8E1B"/> 74 <enum name="SHADER_BINARY_FORMAT_SPIR_V" value="0x9551"/> 75 <enum name="SPIR_V_BINARY" value="0x9552"/> 76 77 <!-- This function aliases one from GL_EXT_polygon_offset_clamp --> 78 79 <function name="PolygonOffsetClamp" alias="PolygonOffsetClampEXT"> 80 <param name="factor" type="GLfloat"/> 81 <param name="units" type="GLfloat"/> 82 <param name="clamp" type="GLfloat"/> 83 </function> 84 85 <!-- This function aliases one from GL_ARB_gl_spirv --> 86 87 <function name="SpecializeShader" alias="SpecializeShaderARB"> 88 <param name="shader" type="GLuint"/> 89 <param name="pEntryPoint" type="const GLchar *"/> 90 <param name="numSpecializationConstants" type="GLuint"/> 91 <param name="pConstantIndex" type="const GLuint *"/> 92 <param name="pConstantValue" type="const GLuint *"/> 93 </function> 94 95 <!-- These functions alias ones from GL_ARB_indirect_parameters --> 96 97 <function name="MultiDrawArraysIndirectCount" 98 alias="MultiDrawArraysIndirectCountARB"> 99 <param name="mode" type="GLenum"/> 100 <param name="indirect" type="GLintptr"/> 101 <param name="drawcount" type="GLintptr"/> 102 <param name="maxdrawcount" type="GLsizei"/> 103 <param name="stride" type="GLsizei"/> 104 </function> 105 106 <function name="MultiDrawElementsIndirectCount" 107 alias="MultiDrawElementsIndirectCountARB"> 108 <param name="mode" type="GLenum"/> 109 <param name="type" type="GLenum"/> 110 <param name="indirect" type="GLintptr"/> 111 <param name="drawcount" type="GLintptr"/> 112 <param name="maxdrawcount" type="GLsizei"/> 113 <param name="stride" type="GLsizei"/> 114 </function> 115</category> 116 117</OpenGLAPI> 118