diff options
author | Ilia Mirkin <[email protected]> | 2016-11-09 01:19:34 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-11-09 20:11:10 -0500 |
commit | 36e5d68cadd5fd73aa15fc64bcd9a27be38fa538 (patch) | |
tree | ecce61c5e1931339bf137219bd9741133ed342c3 /src | |
parent | 4b5b87e7abf86b9b75a50d912a486042a770829e (diff) |
swr: set halfz rasterizer setting
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/swr/swr_state.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 ? |