aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-02-27 17:00:03 +0100
committerMarek Olšák <[email protected]>2010-02-28 00:46:35 +0100
commitd36e3952c21240cde19dac7f16cc37aac7174673 (patch)
tree9ea969b2aa995a3e02a51d62166678edf090e0fb /src/gallium/drivers/r300/r300_emit.h
parent4ed97f0a73db37f6105b6282d92646c3f66c2645 (diff)
r300g: put validating buffers after flushing
Also cleaning up the nasty validation process.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.h')
-rw-r--r--src/gallium/drivers/r300/r300_emit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.h b/src/gallium/drivers/r300/r300_emit.h
index c73b016b76c..4a3f94087bf 100644
--- a/src/gallium/drivers/r300/r300_emit.h
+++ b/src/gallium/drivers/r300/r300_emit.h
@@ -105,6 +105,8 @@ unsigned r300_get_num_dirty_dwords(struct r300_context *r300);
/* Emit all dirty state. */
void r300_emit_dirty_state(struct r300_context* r300);
-void r300_emit_buffer_validate(struct r300_context *r300);
+void r300_emit_buffer_validate(struct r300_context *r300,
+ boolean do_validate_vertex_buffers,
+ struct pipe_buffer *index_buffer);
#endif /* R300_EMIT_H */