diff options
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw/tri-instanced.c')
-rw-r--r-- | lib/mesa/src/gallium/tests/graw/tri-instanced.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/tri-instanced.c b/lib/mesa/src/gallium/tests/graw/tri-instanced.c index 6c6783c93..297377b89 100644 --- a/lib/mesa/src/gallium/tests/graw/tri-instanced.c +++ b/lib/mesa/src/gallium/tests/graw/tri-instanced.c @@ -258,7 +258,6 @@ static void init( void ) templat.depth0 = 1; templat.array_size = 1; templat.last_level = 0; - templat.nr_samples = 1; templat.bind = (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET); @@ -307,7 +306,8 @@ static void init( void ) rasterizer.cull_face = PIPE_FACE_NONE; rasterizer.half_pixel_center = 1; rasterizer.bottom_edge_rule = 1; - rasterizer.depth_clip = 1; + rasterizer.depth_clip_near = 1; + rasterizer.depth_clip_far = 1; handle = ctx->create_rasterizer_state(ctx, &rasterizer); ctx->bind_rasterizer_state(ctx, handle); } |