summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_clip_state.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-09-17 13:03:32 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2010-09-28 15:58:20 +0800
commit03218a00932e83f0ffd0c3077bbbe65a7765c572 (patch)
tree1cfd5947aab7ad16448b25f413e641e802e4a85c /src/mesa/drivers/dri/i965/gen6_clip_state.c
parent41c31c2ebd5ed2ca021ff9d89f79270562e6c368 (diff)
downloadexternal_mesa3d-03218a00932e83f0ffd0c3077bbbe65a7765c572.zip
external_mesa3d-03218a00932e83f0ffd0c3077bbbe65a7765c572.tar.gz
external_mesa3d-03218a00932e83f0ffd0c3077bbbe65a7765c572.tar.bz2
i965: force zero in clipper to ignore RTAIndex on sandybridge
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_clip_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_clip_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_clip_state.c b/src/mesa/drivers/dri/i965/gen6_clip_state.c
index acc4b7f..045d9c6 100644
--- a/src/mesa/drivers/dri/i965/gen6_clip_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_clip_state.c
@@ -59,6 +59,7 @@ upload_clip_state(struct brw_context *brw)
GEN6_CLIP_XY_TEST |
depth_clamp |
provoking);
+ OUT_BATCH(GEN6_CLIP_FORCE_ZERO_RTAINDEX);
OUT_BATCH(0);
ADVANCE_BATCH();