<p dir="ltr">On Feb 19, 2016 8:05 AM, "Samuel Iglesias Gonsálvez" <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>> wrote:<br>
><br>
> On Wed, Feb 17, 2016 at 08:46:36PM -0500, Ilia Mirkin wrote:<br>
> > Only minor differences to the existing ARB_texture_border_clamp support.<br>
> ><br>
> > Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
> > ---<br>
> ><br>
> > v1 -> v2: added a patch to add the EXT version of this extension<br>
> ><br>
> >  docs/GL3.txt                            |  2 +-<br>
> >  src/mapi/glapi/gen/es_EXT.xml           | 58 ++++++++++++++++++++++++++++++++-<br>
> >  src/mesa/main/extensions_table.h        |  1 +<br>
> >  src/mesa/main/samplerobj.c              |  6 ++--<br>
> >  src/mesa/main/tests/dispatch_sanity.cpp | 10 ++++++<br>
> >  src/mesa/main/texparam.c                | 11 ++++---<br>
> >  6 files changed, 80 insertions(+), 8 deletions(-)<br>
> ><br>
> > diff --git a/docs/GL3.txt b/docs/GL3.txt<br>
> > index ea7ceef..0957247 100644<br>
> > --- a/docs/GL3.txt<br>
> > +++ b/docs/GL3.txt<br>
> > @@ -253,7 +253,7 @@ GLES3.2, GLSL ES 3.2<br>
> >    GL_OES_shader_io_blocks                              not started (based on parts of GLSL 1.50, which is done)<br>
> >    GL_OES_shader_multisample_interpolation              not started (based on parts of GL_ARB_gpu_shader5, which is done)<br>
> >    GL_OES_tessellation_shader                           not started (based on GL_ARB_tessellation_shader, which is done for some drivers)<br>
> > -  GL_OES_texture_border_clamp                          not started (based on GL_ARB_texture_border_clamp, which is done)<br>
> > +  GL_OES_texture_border_clamp                          DONE (all drivers)<br>
> >    GL_OES_texture_buffer                                not started (based on GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_range, and GL_ARB_texture_buffer_object_rgb32 that are all done)<br>
> >    GL_OES_texture_cube_map_array                        not started (based on GL_ARB_texture_cube_map_array, which is done for all drivers)<br>
> >    GL_OES_texture_stencil8                              not started (based on GL_ARB_texture_stencil8, which is done for some drivers)<br>
> > diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml<br>
> > index 86df980..fb0ef05 100644<br>
> > --- a/src/mapi/glapi/gen/es_EXT.xml<br>
> > +++ b/src/mapi/glapi/gen/es_EXT.xml<br>
> > @@ -982,5 +982,61 @@<br>
> >          <param name="texture" type="GLuint"/><br>
> >          <param name="level" type="GLint"/><br>
> >      </function><br>
> > -  </category><br>
> > +</category><br>
> > +<br>
> > +<category name="GL_OES_texture_border_clamp" number="215"><br>
> > +<br>
> > +    <enum name="TEXTURE_BORDER_COLOR_OES" value ="0x1004"/><br>
> > +    <enum name="CLAMP_TO_BORDER_OES"      value="0x812D"/><br>
> > +<br>
> > +    <function name="TexParameterIivOES" es2="3.0" alias="TexParameterIiv"><br>
><br>
> I have a doubt here that it is repeated along this patch and the following one...<br>
> Shouldn't it be es2="3.2"? Because the extension was in core in OpenGL ES 3.2.</p>
<p dir="ltr">That's not what this means... It might be core in gles 1000000, but the entrypoint should be exposed in gles3. The ext itself is available starting gles2, but int formats only became available in gles3, and this entrypoint only applies to int color formats.</p>
<p dir="ltr">  -ilia</p>