[Mesa-dev] [PATCH 1/8] Add EXT_blend_func_extended XML definitions
Ilia Mirkin
imirkin at alum.mit.edu
Thu Nov 5 09:24:07 PST 2015
subject: glapi: add ...
On Thu, Nov 5, 2015 at 12:16 PM, Ryan Houdek <sonicadvance1 at gmail.com> wrote:
> ---
> src/mapi/glapi/gen/EXT_gpu_shader4.xml | 3 ++-
> src/mapi/glapi/gen/es_EXT.xml | 38 ++++++++++++++++++++++++++++++++++
> 2 files changed, 40 insertions(+), 1 deletion(-)
>
> diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml
> index b1f7eae..b4120b9 100644
> --- a/src/mapi/glapi/gen/EXT_gpu_shader4.xml
> +++ b/src/mapi/glapi/gen/EXT_gpu_shader4.xml
> @@ -232,7 +232,8 @@
> <param name="params" type="GLuint *"/>
> </function>
>
> - <function name="BindFragDataLocationEXT" alias="BindFragDataLocation">
> + <function name="BindFragDataLocationEXT" alias="BindFragDataLocation"
> + es2="3.0">
> <param name="program" type="GLuint"/>
> <param name="colorNumber" type="GLuint"/>
> <param name="name" type="const GLchar *"/>
> diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
> index 9a777a2..e689b47 100644
> --- a/src/mapi/glapi/gen/es_EXT.xml
> +++ b/src/mapi/glapi/gen/es_EXT.xml
> @@ -914,4 +914,42 @@
> </function>
> </category>
>
> +<category name="GL_EXT_blend_func_extended" number="247">
> +
> + <function name="BindFragDataLocationIndexedEXT" alias="BindFragDataLocationIndexed"
indent
> + es2="3.0">
> + <param name="program" type="GLuint"/>
> + <param name="colorNumber" type="GLuint"/>
> + <param name="index" type="GLuint"/>
> + <param name="name" type="const GLchar *"/>
> + </function>
> +
> + <function name="GetFragDataIndexEXT" alias="GetFragDataIndex"
> + es2="3.0">
> + <param name="program" type="GLuint"/>
> + <param name="name" type="const GLchar *"/>
> + <return type="GLint"/>
> + </function>
> +
> + <function name="GetProgramResourceLocationIndexEXT" alias="GetProgramResourceLocationIndex"
> + es2="3.1">
> + <param name="program" type="GLuint"/>
> + <param name="programInterface" type="GLenum"/>
> + <param name="name" type="const GLchar *"/>
> + <return type="GLint"/>
> + </function>
> +
> + <enum name="SRC1_COLOR_EXT" value="0x88F9"/>
> + <enum name="SRC1_ALPHA_EXT" value="0x8589"/>
> + <enum name="ONE_MINUS_SRC1_COLOR_EXT" value="0x88FA"/>
> + <enum name="ONE_MINUS_SRC1_ALPHA_EXT" value="0x88FB"/>
> + <enum name="SRC_ALPHA_SATURATE_EXT" value="0x0308"/>
> +
> + <enum name="LOCATION_INDEX_EXT" value="0x930F"/>
These duplicate existing enums right? I think this will confuse the
table. I'd just as soon leave them out. We never map name -> id, only
id -> name. I think :) [In piglit we do name -> id.]
> +
> + <enum name="MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT" value="0x88FC">
> + <size name="Get" mode="get"/>
indent
> + </enum>
> +
> +</category>
> </OpenGLAPI>
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list