mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
r600: update vport z & clipping when depth_clamp is changed
fixes piglit depth_clamp
This commit is contained in:
parent
9bf40cea00
commit
70ccca4251
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ static void r700SetClipPlaneState(GLcontext * ctx, GLenum cap, GLboolean state);
|
|||
static void r700UpdatePolygonMode(GLcontext * ctx);
|
||||
static void r700SetPolygonOffsetState(GLcontext * ctx, GLboolean state);
|
||||
static void r700SetStencilState(GLcontext * ctx, GLboolean state);
|
||||
static void r700UpdateWindow(GLcontext * ctx, int id);
|
||||
|
||||
void r700UpdateShaders(GLcontext * ctx)
|
||||
{
|
||||
|
|
@ -780,6 +781,9 @@ static void r700Enable(GLcontext * ctx, GLenum cap, GLboolean state) //---------
|
|||
case GL_LINE_STIPPLE:
|
||||
r700UpdateLineStipple(ctx);
|
||||
break;
|
||||
case GL_DEPTH_CLAMP:
|
||||
r700UpdateWindow(ctx, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue