summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-22 15:11:29 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-02-24 17:11:47 -0800
commite6632b4bf7cba5fe8a77d54635a3b617fa67185f (patch)
treec51f40deebfe74d2006082b6d956ff95b3373d1a /src/gallium/drivers/r300/r300_emit.h
parentb7041db8f8af07d3eec68fb259e2f17ceb8bd421 (diff)
r300g: prevent CS overflow when emitting the draw packets
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.h')
-rw-r--r--src/gallium/drivers/r300/r300_emit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.h b/src/gallium/drivers/r300/r300_emit.h
index 6b96d9b57c..ff709a0595 100644
--- a/src/gallium/drivers/r300/r300_emit.h
+++ b/src/gallium/drivers/r300/r300_emit.h
@@ -90,6 +90,8 @@ void r300_emit_ztop_state(struct r300_context* r300, void* state);
void r300_flush_textures(struct r300_context* r300);
+unsigned r300_get_num_dirty_dwords(struct r300_context *r300);
+
/* Emit all dirty state. */
void r300_emit_dirty_state(struct r300_context* r300);