summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-12-17 09:47:53 -0800
committerEric Anholt <eric@anholt.net>2010-02-25 10:53:07 -0800
commit0fbc0b0c172060ce5dd946fe33a43d9194ab45d0 (patch)
treeced751b635bbcdfe6e81608bbb6ccf8296cf4d82 /src
parent1ae0cb5f286bbba10e99c8e3bc1c55d2aeb38b59 (diff)
i965: Enable clip stats.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_clip_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_clip_state.c b/src/mesa/drivers/dri/i965/gen6_clip_state.c
index 5ddfa9aad2..9fabd05341 100644
--- a/src/mesa/drivers/dri/i965/gen6_clip_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_clip_state.c
@@ -55,7 +55,7 @@ upload_clip_state(struct brw_context *brw)
BEGIN_BATCH(4);
OUT_BATCH(CMD_3D_CLIP_STATE << 16 | (4 - 2));
- OUT_BATCH(0);
+ OUT_BATCH(GEN6_CLIP_STATISTICS_ENABLE);
OUT_BATCH(GEN6_CLIP_ENABLE |
GEN6_CLIP_API_OGL |
GEN6_CLIP_MODE_REJECT_ALL | /* XXX: debug: get VS working */