mesa: add KHR_no_error support for glDepthRangeIndexed()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<param name="count" type="GLsizei"/>
|
||||
<param name="v" type="const GLclampd *" count="count" count_scale="2"/>
|
||||
</function>
|
||||
<function name="DepthRangeIndexed">
|
||||
<function name="DepthRangeIndexed" no_error="true">
|
||||
<param name="index" type="GLuint"/>
|
||||
<param name="n" type="GLclampd"/>
|
||||
<param name="f" type="GLclampd"/>
|
||||
|
||||
@@ -403,6 +403,15 @@ _mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat *v)
|
||||
* \param farval specifies the Z buffer value which should correspond to
|
||||
* the far clip plane
|
||||
*/
|
||||
void GLAPIENTRY
|
||||
_mesa_DepthRangeIndexed_no_error(GLuint index, GLclampd nearval,
|
||||
GLclampd farval)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
_mesa_set_depth_range(ctx, index, nearval, farval);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DepthRangeIndexed(GLuint index, GLclampd nearval, GLclampd farval)
|
||||
{
|
||||
|
||||
@@ -73,6 +73,9 @@ _mesa_DepthRangeArrayv(GLuint first, GLsizei count, const GLclampd * v);
|
||||
extern void GLAPIENTRY
|
||||
_mesa_DepthRangeArrayfvOES(GLuint first, GLsizei count, const GLfloat * v);
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_DepthRangeIndexed_no_error(GLuint index, GLclampd n, GLclampd f);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user