aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/shader-leak.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/shader-leak.c')
-rw-r--r--src/gallium/tests/graw/shader-leak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c
index 57cd2dc2b12..103aa6d3f3a 100644
--- a/src/gallium/tests/graw/shader-leak.c
+++ b/src/gallium/tests/graw/shader-leak.c
@@ -249,6 +249,7 @@ static void init( void )
memset(&rasterizer, 0, sizeof rasterizer);
rasterizer.cull_face = PIPE_FACE_NONE;
rasterizer.gl_rasterization_rules = 1;
+ rasterizer.depth_clip = 1;
handle = ctx->create_rasterizer_state(ctx, &rasterizer);
ctx->bind_rasterizer_state(ctx, handle);
}