summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/tri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/tri.c')
-rw-r--r--src/gallium/tests/trivial/tri.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/tri.c b/src/gallium/tests/trivial/tri.c
index 87a335fba1e..3827edc0da3 100644
--- a/src/gallium/tests/trivial/tri.c
+++ b/src/gallium/tests/trivial/tri.c
@@ -154,7 +154,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;
surf_tmpl.format = PIPE_FORMAT_B8G8R8A8_UNORM;
surf_tmpl.u.tex.level = 0;