Mesa (master): i915: Remove superfluous MI_NOOP from vertex emission

Chris Wilson ickle at kemper.freedesktop.org
Mon Feb 22 10:12:50 UTC 2010


Module: Mesa
Branch: master
Commit: ac6ce53af7f67d01afd8e33d297f95c21aa3405e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac6ce53af7f67d01afd8e33d297f95c21aa3405e

Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Feb 22 09:50:15 2010 +0000

i915: Remove superfluous MI_NOOP from vertex emission

Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

---

 src/mesa/drivers/dri/i915/intel_tris.c |    3 +--
 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 3816ada..9975e2f 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);
 




More information about the mesa-commit mailing list