summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-19 15:20:45 +0200
committerChristian König <[email protected]>2012-07-24 12:29:30 +0200
commitca9cf611b63e5576b596c21b73b1b639d250d649 (patch)
treeba6078296137c6cd3473a982e04d70e10761f24a /src/gallium/drivers/radeonsi/si_state.h
parent0d6b0b512acadbc5d64039063b5649fc401b3367 (diff)
radeonsi: move draw state into new handling
Split it out into si_state_draw.c Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index f0ddbc6ca06..cb993774f4c 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -122,6 +122,7 @@ union si_state {
struct si_pm4_state *ps_sampler;
struct si_pm4_state *ps_const;
struct si_pm4_state *spi;
+ struct si_pm4_state *vertex_buffers;
struct si_pm4_state *draw_info;
} named;
struct si_pm4_state *array[0];
@@ -154,10 +155,11 @@ union si_state {
} \
} while(0);
+/* si_state.c */
void si_init_state_functions(struct r600_context *rctx);
void si_init_config(struct r600_context *rctx);
-bool si_update_draw_info_state(struct r600_context *rctx,
- const struct pipe_draw_info *info);
-void si_update_spi_map(struct r600_context *rctx);
+
+/* si_state_draw.c */
+void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo);
#endif