summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-09-07 07:41:43 -0400
committerRob Clark <[email protected]>2018-09-07 07:41:43 -0400
commit5404e0637f17fa7ae33db33760e10bf4f73b3095 (patch)
treee67dfdcb7bd593024d008f2db587ea64b5f46559 /src/gallium
parentfda7683726a55eec8a76416470cd59d673b27790 (diff)
freedreno: fix rast->depth_cleap_near/far
Fixes: daa19363def gallium: split depth_clip into depth_clip_near & depth_clip_far Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_draw.c b/src/gallium/drivers/freedreno/freedreno_draw.c
index 78bdc375e35..f55905e7bfe 100644
--- a/src/gallium/drivers/freedreno/freedreno_draw.c
+++ b/src/gallium/drivers/freedreno/freedreno_draw.c
@@ -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);
}