diff options
author | Daniel Vetter <[email protected]> | 2011-02-26 21:40:52 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-03-01 22:18:11 +0100 |
commit | 8f9e546fde27db75ea87bcf8ae333bc70616deb4 (patch) | |
tree | 09e4869c68c3e24d11437a419aa8775b9cccf243 /src/gallium/drivers/i915/i915_prim_emit.c | |
parent | ee7acf6493e934dbc78d98738195a3804c23722e (diff) |
i915g: kill relocs accouting
No one ever cared. libdrm does dynamic resizing of its reloc-table,
anyway.
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_prim_emit.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_prim_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_prim_emit.c b/src/gallium/drivers/i915/i915_prim_emit.c index dd997e2cf48..276e33d4b9d 100644 --- a/src/gallium/drivers/i915/i915_prim_emit.c +++ b/src/gallium/drivers/i915/i915_prim_emit.c @@ -144,7 +144,7 @@ emit_prim( struct draw_stage *stage, vertex_size = i915->current.vertex_info.size * 4; /* in bytes */ assert(vertex_size >= 12); /* never smaller than 12 bytes */ - if (!BEGIN_BATCH( 1 + nr * vertex_size / 4, 0 )) { + if (!BEGIN_BATCH( 1 + nr * vertex_size / 4)) { FLUSH_BATCH(NULL); /* Make sure state is re-emitted after a flush: @@ -152,7 +152,7 @@ emit_prim( struct draw_stage *stage, i915_update_derived( i915 ); i915_emit_hardware_state( i915 ); - if (!BEGIN_BATCH( 1 + nr * vertex_size / 4, 0 )) { + if (!BEGIN_BATCH( 1 + nr * vertex_size / 4)) { assert(0); return; } |