freedreno: fix rast->depth_cleap_near/far
authorRob Clark <robdclark@gmail.com>
Fri, 7 Sep 2018 11:41:43 +0000 (07:41 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 7 Sep 2018 11:41:43 +0000 (07:41 -0400)
Fixes: daa19363def gallium: split depth_clip into depth_clip_near & depth_clip_far
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_draw.c

index 78bdc375e35ca1be76675b07cf5f03b69bd9d063..f55905e7bfe4247a44a9b0d0f4ae271668223c83 100644 (file)
@@ -297,7 +297,8 @@ fd_blitter_clear(struct pipe_context *pctx, unsigned buffers,
                        .half_pixel_center = 1,
                        .bottom_edge_rule = 1,
                        .flatshade = 1,
-                       .depth_clip = 1,
+                       .depth_clip_near = 1,
+                       .depth_clip_far = 1,
                };
                ctx->clear_rs_state = pctx->create_rasterizer_state(pctx, &tmpl);
        }