summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-06-25 02:55:14 +0200
committerMarek Olšák <[email protected]>2010-06-27 15:13:12 +0200
commitbb47d1c26fa000735bd06751ba00a98354c921b7 (patch)
tree0c27c5af97a2bd104d6d8b2688513e2841aa3072 /src/gallium/drivers/r300/r300_emit.c
parent8959f48bce61dd92d23e91a2ca747f37dafd1301 (diff)
r300g: turn invariant state into a command buffer
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 413e2f62a79..e4de081fdc7 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -519,6 +519,13 @@ void r300_emit_query_end(struct r300_context* r300)
}
}
+void r300_emit_invariant_state(struct r300_context *r300,
+ unsigned size, void *state)
+{
+ CS_LOCALS(r300);
+ WRITE_CS_TABLE(state, size);
+}
+
void r300_emit_rs_state(struct r300_context* r300, unsigned size, void* state)
{
struct r300_rs_state* rs = state;