mesa: Add new functions and enums required by GL_ARB_sample_shading
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 30 Aug 2013 19:52:38 +0000 (12:52 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 1 Nov 2013 23:01:47 +0000 (16:01 -0700)
commit77b440e42d8e7247c22959020bb087c63d298f2e
treec4d5463c563ab87e6f31ba829f5a73b3ae5aaeef
parente919e5ee4e0dd1bab511e402c1265208f139fcc1
mesa: Add new functions and enums required by GL_ARB_sample_shading

New functions added by GL_ARB_sample_shading:
glMinSampleShadingARB()

New enums:
GL_SAMPLE_SHADING_ARB
GL_MIN_SAMPLE_SHADING_VALUE_ARB

V2: Update comments.
    Create new GL4x.xml.
    Remove redundant code in get.c.
    Update the API_XML list in Makefile.am.
    Add extra_gl40_ARB_sample_shading predicate to get.c.

V3:
   Fix make check failure.
   Add checks for desktop GL.
   Use GLfloat in place of GLclampf in glMinSampleShading().
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ken Graunke <kenneth@whitecape.org>
src/mapi/glapi/gen/ARB_sample_shading.xml [new file with mode: 0644]
src/mapi/glapi/gen/GL4x.xml [new file with mode: 0644]
src/mapi/glapi/gen/Makefile.am
src/mapi/glapi/gen/gl_API.xml
src/mesa/main/enable.c
src/mesa/main/get.c
src/mesa/main/get_hash_params.py
src/mesa/main/mtypes.h
src/mesa/main/multisample.c
src/mesa/main/multisample.h
src/mesa/main/tests/dispatch_sanity.cpp