diff options
author | Stefan Dösinger <[email protected]> | 2012-12-03 17:40:52 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-04 00:07:13 +0100 |
commit | e866bd1adea2c3b4971ad68e69c644752f2ab7b6 (patch) | |
tree | 29a5de17bb39b7197523a4af5ffad5b13ed836d4 /src/gallium/drivers/r300/r300_state.c | |
parent | b126228f1247fb0fed686ee3ef2c87461f2fc7a7 (diff) |
r300g: Give CLIP_DISABLE another try
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 02a263eabda..fba2d35b8f9 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1197,7 +1197,8 @@ static void* r300_create_rs_state(struct pipe_context* pipe, if (r300_screen(pipe->screen)->caps.has_tcl) { vap_clip_cntl = (state->clip_plane_enable & 63) | - R300_PS_UCP_MODE_CLIP_AS_TRIFAN; + R300_PS_UCP_MODE_CLIP_AS_TRIFAN | + (state->depth_clip ? 0 : R300_CLIP_DISABLE); } else { vap_clip_cntl = R300_CLIP_DISABLE; } |