summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915simple/i915_blit.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-06-02 17:23:30 +0200
committerJakob Bornecrantz <[email protected]>2008-06-02 17:24:31 +0200
commit6a3aab1983d999a3a9eccbeaab88195820abf467 (patch)
tree8ee41a24d5e27ae1307db7d518ef22a304711065 /src/gallium/drivers/i915simple/i915_blit.c
parent7cc23a9eaebc788ae34f6e06c6227524d08a7693 (diff)
i915: Removed useless defines
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_blit.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_blit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/i915simple/i915_blit.c b/src/gallium/drivers/i915simple/i915_blit.c
index 24449e3fb33..b500ff36a8b 100644
--- a/src/gallium/drivers/i915simple/i915_blit.c
+++ b/src/gallium/drivers/i915simple/i915_blit.c
@@ -45,7 +45,6 @@ i915_fill_blit(struct i915_context *i915,
unsigned color)
{
unsigned BR13, CMD;
- BATCH_LOCALS;
dst_pitch *= (short) cpp;
@@ -79,7 +78,6 @@ i915_fill_blit(struct i915_context *i915,
OUT_BATCH(((y + h) << 16) | (x + w));
OUT_RELOC( dst_buffer, I915_BUFFER_ACCESS_WRITE, dst_offset);
OUT_BATCH(color);
- ADVANCE_BATCH();
}
@@ -100,7 +98,6 @@ i915_copy_blit( struct i915_context *i915,
unsigned CMD, BR13;
int dst_y2 = dst_y + h;
int dst_x2 = dst_x + w;
- BATCH_LOCALS;
I915_DBG(i915,
@@ -156,7 +153,6 @@ i915_copy_blit( struct i915_context *i915,
OUT_BATCH((src_y << 16) | src_x);
OUT_BATCH(((int) src_pitch & 0xffff));
OUT_RELOC(src_buffer, I915_BUFFER_ACCESS_READ, src_offset);
- ADVANCE_BATCH();
}