i915: Remove superfluous MI_NOOP from vertex emission
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Feb 2010 09:50:15 +0000 (09:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Feb 2010 09:55:33 +0000 (09:55 +0000)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i915/intel_tris.c

index 3816adae942bcbb93d11e2f25d3b370f04fc6604..9975e2f47b02b6bc44661499499970ecccbdae2d 100644 (file)
@@ -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);