[Mesa-dev] [PATCH] gallium: freedreno: fix compile issue
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Sep 7 10:49:48 UTC 2018
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: daa19363def83c ("gallium: split depth_clip into depth_clip_near & depth_clip_far")
---
src/gallium/drivers/freedreno/freedreno_draw.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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);
}
--
2.19.0.rc1
More information about the mesa-dev
mailing list