summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-08-20 15:52:58 +0100
committerKeith Whitwell <[email protected]>2010-08-25 10:29:21 +0100
commit6c0dc4bafbdbdc0cb4b6e5934fe064226dbd47ec (patch)
tree025e35385480b9fd832adcc390cb66d794ca17c3 /src/gallium/auxiliary/draw/draw_pt.c
parent4cef3087261317f04e4a06cc645c895d31f6e06b (diff)
draw: specialized cliptesting routines
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c4
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;
}