From: Kenneth Graunke Date: Tue, 26 Jun 2018 17:09:08 +0000 (-0700) Subject: iris: larger polygon offset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d207f97840a49b8862a4627ceab01430ddd490a8;p=mesa.git iris: larger polygon offset --- diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index ac85817747b..8e5818d9f3d 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -644,7 +644,7 @@ iris_create_rasterizer_state(struct pipe_context *ctx, rr.GlobalDepthOffsetEnableSolid = state->offset_tri; rr.GlobalDepthOffsetEnableWireframe = state->offset_line; rr.GlobalDepthOffsetEnablePoint = state->offset_point; - rr.GlobalDepthOffsetConstant = state->offset_units; + rr.GlobalDepthOffsetConstant = state->offset_units * 2; rr.GlobalDepthOffsetScale = state->offset_scale; rr.GlobalDepthOffsetClamp = state->offset_clamp; rr.SmoothPointEnable = state->point_smooth;