i965: Enable clip stats.
authorEric Anholt <eric@anholt.net>
Thu, 17 Dec 2009 17:47:53 +0000 (09:47 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 25 Feb 2010 18:53:07 +0000 (10:53 -0800)
src/mesa/drivers/dri/i965/gen6_clip_state.c

index 5ddfa9aad249852fa8bbed63a032d53e5151d895..9fabd053415395237f9692100077d308920fb37a 100644 (file)
@@ -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 */