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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c
index 1f29306ec04..9a9d7012249 100644
--- a/src/gallium/tests/trivial/quad-tex.c
+++ b/src/gallium/tests/trivial/quad-tex.c
@@ -200,7 +200,8 @@ static void init_prog(struct program *p)
p->rasterizer.cull_face = PIPE_FACE_NONE;
p->rasterizer.half_pixel_center = 1;
p->rasterizer.bottom_edge_rule = 1;
- p->rasterizer.depth_clip = 1;
+ p->rasterizer.depth_clip_near = 1;
+ p->rasterizer.depth_clip_far = 1;
/* sampler */
memset(&p->sampler, 0, sizeof(p->sampler));