summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_state_emit.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-09 16:43:44 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-09 16:44:22 +0100
commite23966f3de81342f7bd11f1e79c04022b5f0193f (patch)
treee9c4b6db6bf0eebcdc68b4d26a758cbb916e5ae4 /src/mesa/pipe/i915simple/i915_state_emit.c
parent3bf25e5516c3c2688d5e1b3b1e120c970b8076c2 (diff)
Some basic state - blend and ztest sort of work.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_emit.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_emit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_emit.c b/src/mesa/pipe/i915simple/i915_state_emit.c
index 3b2ab4775b..1a50470fbd 100644
--- a/src/mesa/pipe/i915simple/i915_state_emit.c
+++ b/src/mesa/pipe/i915simple/i915_state_emit.c
@@ -151,10 +151,10 @@ i915_emit_hardware_state(struct i915_context *i915 )
I1_LOAD_S(6) |
(3));
- OUT_BATCH(0xffffffff);
- OUT_BATCH(0x00902440); // OUT_BATCH(S4_VFMT_XYZ | S4_VFMT_COLOR);
- OUT_BATCH(0x00000002);
- OUT_BATCH(0x00020216); // OUT_BATCH( S6_COLOR_WRITE_ENABLE | (2 << S6_TRISTRIP_PV_SHIFT));
+ OUT_BATCH(i915->current.immediate[I915_IMMEDIATE_S2]);
+ OUT_BATCH(i915->current.immediate[I915_IMMEDIATE_S4]);
+ OUT_BATCH(i915->current.immediate[I915_IMMEDIATE_S5]);
+ OUT_BATCH(i915->current.immediate[I915_IMMEDIATE_S6]);
}
{
@@ -264,6 +264,6 @@ i915_emit_hardware_state(struct i915_context *i915 )
}
- i915->hw_dirty = 0;
+ i915->hardware_dirty = 0;
}