summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen_buffer.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-07-18 18:47:08 +1000
committerMarek Olšák <maraeo@gmail.com>2010-07-18 18:11:29 +0200
commit4eaf591d1504f61e131f77f01711d27a75d02e90 (patch)
treec6e634f652b0418734a1afc3b45d97d0c9f18bed /src/gallium/drivers/r300/r300_screen_buffer.h
parent14e362c79aedd9b463c74ef2e56ad96101ceb2af (diff)
downloadexternal_mesa3d-4eaf591d1504f61e131f77f01711d27a75d02e90.zip
external_mesa3d-4eaf591d1504f61e131f77f01711d27a75d02e90.tar.gz
external_mesa3d-4eaf591d1504f61e131f77f01711d27a75d02e90.tar.bz2
r300g: u_upload optimisation
fix vb/ib uploads
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r--src/gallium/drivers/r300/r300_screen_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h
index fdd5d87..cafa9f9 100644
--- a/src/gallium/drivers/r300/r300_screen_buffer.h
+++ b/src/gallium/drivers/r300/r300_screen_buffer.h
@@ -68,7 +68,7 @@ int r300_upload_index_buffer(struct r300_context *r300,
struct pipe_resource **index_buffer,
unsigned index_size,
unsigned start,
- unsigned count);
+ unsigned count, unsigned *out_offset);
struct pipe_resource *r300_buffer_create(struct pipe_screen *screen,
const struct pipe_resource *templ);