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>
Showing
- src/mapi/glapi/gen/ARB_sample_shading.xml 19 additions, 0 deletionssrc/mapi/glapi/gen/ARB_sample_shading.xml
- src/mapi/glapi/gen/GL4x.xml 21 additions, 0 deletionssrc/mapi/glapi/gen/GL4x.xml
- src/mapi/glapi/gen/Makefile.am 4 additions, 1 deletionsrc/mapi/glapi/gen/Makefile.am
- src/mapi/glapi/gen/gl_API.xml 3 additions, 1 deletionsrc/mapi/glapi/gen/gl_API.xml
- src/mesa/main/enable.c 18 additions, 0 deletionssrc/mesa/main/enable.c
- src/mesa/main/get.c 8 additions, 0 deletionssrc/mesa/main/get.c
- src/mesa/main/get_hash_params.py 3 additions, 0 deletionssrc/mesa/main/get_hash_params.py
- src/mesa/main/mtypes.h 2 additions, 0 deletionssrc/mesa/main/mtypes.h
- src/mesa/main/multisample.c 18 additions, 0 deletionssrc/mesa/main/multisample.c
- src/mesa/main/multisample.h 2 additions, 0 deletionssrc/mesa/main/multisample.h
- src/mesa/main/tests/dispatch_sanity.cpp 2 additions, 2 deletionssrc/mesa/main/tests/dispatch_sanity.cpp
Loading
Please register or sign in to comment