diff options
author | Keith Whitwell <[email protected]> | 2010-08-20 15:52:58 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-08-25 10:29:21 +0100 |
commit | 6c0dc4bafbdbdc0cb4b6e5934fe064226dbd47ec (patch) | |
tree | 025e35385480b9fd832adcc390cb66d794ca17c3 /src/gallium/auxiliary/draw/draw_pt.c | |
parent | 4cef3087261317f04e4a06cc645c895d31f6e06b (diff) |
draw: specialized cliptesting routines
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index f81714d6b48..f44bf2507c6 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -86,7 +86,9 @@ draw_pt_arrays(struct draw_context *draw, opt |= PT_PIPELINE; } - if (!draw->bypass_clipping && !draw->pt.test_fse) { + if ((draw->clip_xy || + draw->clip_z || + draw->clip_user) && !draw->pt.test_fse) { opt |= PT_CLIPTEST; } |