summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/quad-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/quad-tex.c')
-rw-r--r--src/gallium/tests/trivial/quad-tex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c
index 79c66e0e67e..cc19e8d5eec 100644
--- a/src/gallium/tests/trivial/quad-tex.c
+++ b/src/gallium/tests/trivial/quad-tex.c
@@ -201,6 +201,7 @@ static void init_prog(struct program *p)
memset(&p->rasterizer, 0, sizeof(p->rasterizer));
p->rasterizer.cull_face = PIPE_FACE_NONE;
p->rasterizer.gl_rasterization_rules = 1;
+ p->rasterizer.depth_clip = 1;
/* sampler */
memset(&p->sampler, 0, sizeof(p->sampler));