mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 07:50:11 +01:00
mesa: add KHR_no_error support to glMinSampleShading()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
bd805a3c31
commit
e98cb5bbca
3 changed files with 11 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
<enum name="SAMPLE_SHADING" value="0x8C36"/>
|
||||
<enum name="MIN_SAMPLE_SHADING_VALUE" value="0x8C37"/>
|
||||
|
||||
<function name="MinSampleShading" es2="3.2">
|
||||
<function name="MinSampleShading" es2="3.2" no_error="true">
|
||||
<param name="value" type="GLfloat"/>
|
||||
</function>
|
||||
|
||||
|
|
|
|||
|
|
@ -158,6 +158,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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue