summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-08-31 00:13:43 +0200
committerMarek Olšák <[email protected]>2013-09-13 01:04:44 +0200
commit9eb3b9dc2bd459af41a277ba8d4661a6d0b5726d (patch)
treef56aa292a8a60f4a77d778b6785902cbb31be622 /src/gallium/drivers/radeonsi/r600.h
parent2b0a54d6ecbd31a41679d089c4e4abf8687f2fdc (diff)
radeonsi: initialize the first CS like any other
So that the "init" state is always emitted first and not later in draw_vbo. This fixes streamout where the "init" state, which disables streamout, was emitted in draw_vbo after streamout was enabled. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600.h')
-rw-r--r--src/gallium/drivers/radeonsi/r600.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/r600.h b/src/gallium/drivers/radeonsi/r600.h
index a914ce2801c..4b4316971d1 100644
--- a/src/gallium/drivers/radeonsi/r600.h
+++ b/src/gallium/drivers/radeonsi/r600.h
@@ -74,6 +74,7 @@ struct r600_screen;
void si_get_backend_mask(struct r600_context *ctx);
void si_context_flush(struct r600_context *ctx, unsigned flags);
+void si_begin_new_cs(struct r600_context *ctx);
struct r600_query *r600_context_query_create(struct r600_context *ctx, unsigned query_type);
void r600_context_query_destroy(struct r600_context *ctx, struct r600_query *query);