From: Ilia Mirkin Date: Wed, 9 Nov 2016 06:19:34 +0000 (-0500) Subject: swr: set halfz rasterizer setting X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=36e5d68cadd5fd73aa15fc64bcd9a27be38fa538;p=mesa.git swr: set halfz rasterizer setting Signed-off-by: Ilia Mirkin Reviewed-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index 01cadcebbc4..d19acfbb347 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -921,6 +921,7 @@ swr_update_derived(struct pipe_context *pipe, rastState->depthFormat = swr_resource(zb->texture)->swr.format; rastState->depthClipEnable = rasterizer->depth_clip; + rastState->clipHalfZ = rasterizer->clip_halfz; rastState->clipDistanceMask = ctx->vs->info.base.num_written_clipdistance ?