diff options
author | Marek Olšák <[email protected]> | 2018-08-21 22:00:11 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-09-06 21:53:00 -0400 |
commit | fda7683726a55eec8a76416470cd59d673b27790 (patch) | |
tree | 94fe3aeacfd73bd4e32e49e510fa6230c26e6665 /src/gallium/drivers/radeonsi/si_state.c | |
parent | daa19363def83c025ccf16106b3402268bf1f56f (diff) |
gallium: enable GL_AMD_depth_clamp_separate on r600, radeonsi
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 18024a9f77d..40c478f0a46 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -870,7 +870,7 @@ static void *si_create_rs_state(struct pipe_context *ctx, rs->pa_cl_clip_cntl = S_028810_DX_CLIP_SPACE_DEF(state->clip_halfz) | S_028810_ZCLIP_NEAR_DISABLE(!state->depth_clip_near) | - S_028810_ZCLIP_FAR_DISABLE(!state->depth_clip_near) | + S_028810_ZCLIP_FAR_DISABLE(!state->depth_clip_far) | S_028810_DX_RASTERIZATION_KILL(state->rasterizer_discard) | S_028810_DX_LINEAR_ATTR_CLIP_ENA(1); |