summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-19 10:01:22 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commite98cb5bbca393be9dc15bed49bdb0a2408d462cf (patch)
tree5642c0e6f14d3d986f6a179f67677b8026bf0c84 /src/mesa/main
parentbd805a3c313990860a28cee0b172d557adf87e26 (diff)
mesa: add KHR_no_error support to glMinSampleShading()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/multisample.c7
-rw-r--r--src/mesa/main/multisample.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c
index 037c8a6a15c..78cf7f3332e 100644
--- a/src/mesa/main/multisample.c
+++ b/src/mesa/main/multisample.c
@@ -159,6 +159,13 @@ min_sample_shading(struct gl_context *ctx, GLclampf value)
* Called via glMinSampleShadingARB
*/
void GLAPIENTRY
+_mesa_MinSampleShading_no_error(GLclampf value)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ min_sample_shading(ctx, value);
+}
+
+void GLAPIENTRY
_mesa_MinSampleShading(GLclampf value)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/multisample.h b/src/mesa/main/multisample.h
index 379afbc574f..a7cd2918d7a 100644
--- a/src/mesa/main/multisample.h
+++ b/src/mesa/main/multisample.h
@@ -47,6 +47,9 @@ _mesa_SampleMaski_no_error(GLuint index, GLbitfield mask);
extern void GLAPIENTRY
_mesa_SampleMaski(GLuint index, GLbitfield mask);
+void GLAPIENTRY
+_mesa_MinSampleShading_no_error(GLclampf value);
+
extern void GLAPIENTRY
_mesa_MinSampleShading(GLclampf value);