summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen6_viewport_state.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-02-25 16:25:17 -0800
committerEric Anholt <eric@anholt.net>2010-02-25 18:36:44 -0800
commit54ea39f768871eb10286b195e1cd77f757c99752 (patch)
tree8a5c83f80bafdf3e58cc90b2319d97236f8dbd87 /src/mesa/drivers/dri/i965/gen6_viewport_state.c
parent1d7aec053b061caef928cfffc786660603d5f14c (diff)
downloadexternal_mesa3d-54ea39f768871eb10286b195e1cd77f757c99752.zip
external_mesa3d-54ea39f768871eb10286b195e1cd77f757c99752.tar.gz
external_mesa3d-54ea39f768871eb10286b195e1cd77f757c99752.tar.bz2
i965: Don't set a nonexistent enable bit in several SNB state pointers.
The modify bit is now usually in the instruction header. The exception is CC state pointers.
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_viewport_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_viewport_state.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_viewport_state.c b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
index 13d2fc1..df3cbfb 100644
--- a/src/mesa/drivers/dri/i965/gen6_viewport_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_viewport_state.c
@@ -154,9 +154,9 @@ static void upload_viewport_state_pointers(struct brw_context *brw)
GEN6_CC_VIEWPORT_MODIFY |
GEN6_SF_VIEWPORT_MODIFY |
GEN6_CLIP_VIEWPORT_MODIFY);
- OUT_RELOC(brw->clip.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 1);
- OUT_RELOC(brw->sf.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 1);
- OUT_RELOC(brw->cc.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 1);
+ OUT_RELOC(brw->clip.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
+ OUT_RELOC(brw->sf.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
+ OUT_RELOC(brw->cc.vp_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
ADVANCE_BATCH();
intel_batchbuffer_emit_mi_flush(intel->batch);