summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2010-02-22 09:50:15 +0000
committerChris Wilson <[email protected]>2010-02-22 09:55:33 +0000
commitac6ce53af7f67d01afd8e33d297f95c21aa3405e (patch)
treeaf24527b9928e6cdb0d852b7f0b1411e9ebebe90
parent5abee283d310a70efa4c713707f06624d5462322 (diff)
i915: Remove superfluous MI_NOOP from vertex emission
Signed-off-by: Chris Wilson <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i915/intel_tris.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c
index 3816adae942..9975e2f47b0 100644
--- a/src/mesa/drivers/dri/i915/intel_tris.c
+++ b/src/mesa/drivers/dri/i915/intel_tris.c
@@ -98,8 +98,7 @@ static void intel_start_inline(struct intel_context *intel, uint32_t prim)
/* Emit a slot which will be filled with the inline primitive
* command later.
*/
- BEGIN_BATCH(2);
- OUT_BATCH(0);
+ BEGIN_BATCH(1);
assert((intel->batch->dirty_state & (1<<1)) == 0);