diff options
author | Andreas Hartmetz <[email protected]> | 2013-12-07 04:42:24 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-12-12 18:34:11 +0100 |
commit | 8ee7370c9bed0be40c5d134f0b92eb3782c6b7e9 (patch) | |
tree | 9e28e8d1a57e736a289bae0597748ec5dd5bcf1d /src/gallium/drivers/radeonsi/si_state.h | |
parent | a32aa2617db218a9f03c49970a3417ae7d8c3bab (diff) |
radeonsi: Write htile state to hardware.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 6774e57e21f..d44c4f3bf9c 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -61,7 +61,6 @@ struct si_state_dsa { struct si_pm4_state pm4; float alpha_ref; unsigned alpha_func; - unsigned db_render_override; unsigned db_render_control; uint8_t valuemask[2]; uint8_t writemask[2]; @@ -88,6 +87,7 @@ union si_state { struct si_state_dsa *dsa; struct si_pm4_state *fb_rs; struct si_pm4_state *fb_blend; + struct si_pm4_state *db_draw; struct si_pm4_state *dsa_stencil_ref; struct si_pm4_state *vs; struct si_pm4_state *vs_sampler; @@ -203,12 +203,14 @@ void si_copy_buffer(struct r600_context *rctx, /* si_state.c */ struct si_pipe_shader_selector; +struct r600_surface; boolean si_is_format_supported(struct pipe_screen *screen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned usage); +void si_update_db_draw_state(struct r600_context *rctx, struct r600_surface *zsbuf); int si_shader_select(struct pipe_context *ctx, struct si_pipe_shader_selector *sel, unsigned *dirty); |