summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-05 00:57:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-05 01:58:03 +0100
commita9b12111f9787950ad6b8f295a70a872c5933c93 (patch)
tree1c3167c383bd1f7b19576865574d327add385fba
parent9c1bf6d01ca307b7a9b91e181ad7f341862e5e1c (diff)
i830: remove padding NOOPs from composite
Bumps aa10text up from 249k to 260k! These NOOPs have existed uncommented since 04d1584737fd0d14e99608a97281fd7b1549ae0e. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/i830_render.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/i830_render.c b/src/i830_render.c
index 1419043f..5046ad4f 100644
--- a/src/i830_render.c
+++ b/src/i830_render.c
@@ -673,13 +673,7 @@ i830_emit_composite_primitive(PixmapPtr pDst, int srcX, int srcY,
num_floats = 3 * per_vertex;
- BEGIN_BATCH(6 + num_floats);
-
- OUT_BATCH(MI_NOOP);
- OUT_BATCH(MI_NOOP);
- OUT_BATCH(MI_NOOP);
- OUT_BATCH(MI_NOOP);
- OUT_BATCH(MI_NOOP);
+ BEGIN_BATCH(1 + num_floats);
OUT_BATCH(PRIM3D_INLINE | PRIM3D_RECTLIST | (num_floats-1));
OUT_BATCH_F(pI830->coord_adjust + dstX + w);