From a9b12111f9787950ad6b8f295a70a872c5933c93 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 5 Sep 2009 00:57:39 +0100 Subject: 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 --- src/i830_render.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/i830_render.c') 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); -- cgit v1.2.3