On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge <sagar.gh...@intel.com> wrote: > > Add some basic types and storage for the AMD_depth_clamp_separate > extension. > > Signed-off-by: Sagar Ghuge <sagar.gh...@intel.com> > --- > include/GL/glcorearb.h | 2 ++ > src/mesa/main/extensions_table.h | 1 + > src/mesa/main/mtypes.h | 3 +++ > 3 files changed, 6 insertions(+) > > diff --git a/include/GL/glcorearb.h b/include/GL/glcorearb.h > index 3cf945c8b2..7dc8b4e79b 100644 > --- a/include/GL/glcorearb.h > +++ b/include/GL/glcorearb.h > @@ -1558,6 +1558,8 @@ typedef int64_t GLint64; > #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 > #define GL_CONTEXT_PROFILE_MASK 0x9126 > #define GL_DEPTH_CLAMP 0x864F > +#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E > +#define GL_DEPTH_CLAMP_FAR_AMD 0x901F > #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C > #define GL_FIRST_VERTEX_CONVENTION 0x8E4D > #define GL_LAST_VERTEX_CONVENTION 0x8E4E
Please drop this hunk. glext.h contains the definitions. The headers are copied directly from the github opengl-registry repo and not modified manually. > diff --git a/src/mesa/main/extensions_table.h > b/src/mesa/main/extensions_table.h > index 746e821886..935da4943b 100644 > --- a/src/mesa/main/extensions_table.h > +++ b/src/mesa/main/extensions_table.h > @@ -9,6 +9,7 @@ > EXT(3DFX_texture_compression_FXT1 , TDFX_texture_compression_FXT1 > , GLL, GLC, x , x , 1999) > > EXT(AMD_conservative_depth , ARB_conservative_depth > , GLL, GLC, x , x , 2009) > +EXT(AMD_depth_clamp_separate , AMD_depth_clamp_separate > , x , GLC, x , x , 2009) It can also be exposed in the compatibility profile. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev