diff options
author | Marek Olšák <[email protected]> | 2014-10-14 17:48:52 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-10-21 22:17:26 +0200 |
commit | b9b0973db206bc3d376781e2d06001f2f48dc865 (patch) | |
tree | 857ecc251f373ee3cbce43e37ef994c63425527b /src/gallium/drivers/radeonsi/si_state.h | |
parent | c94af8f0d717c1079327c51d8983b57c09aa2d1b (diff) |
radeonsi: generate shader pm4 states right after shader compilation
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index f70bddfb8ec..4f5140ca188 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -31,6 +31,7 @@ #include "radeon/r600_pipe_common.h" struct si_screen; +struct si_shader; struct si_state_blend { struct si_pm4_state pm4; @@ -270,6 +271,7 @@ unsigned si_tile_mode_index(struct r600_texture *rtex, unsigned level, bool sten /* si_state_draw.c */ extern const struct r600_atom si_atom_cache_flush; extern const struct r600_atom si_atom_msaa_config; +void si_shader_init_pm4_state(struct si_shader *shader); void si_emit_cache_flush(struct r600_common_context *sctx, struct r600_atom *atom); void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *dinfo); |