diff options
author | Marek Olšák <[email protected]> | 2017-08-29 20:55:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-09-05 12:09:02 +0200 |
commit | 51e10c27702cf2ca23877ed0230785231e1758f3 (patch) | |
tree | 70ce41bc8e7072ac10870eee80aab2f9512658ed /src/gallium/drivers/radeonsi/si_state.h | |
parent | 0797eea758784eacdba016175b430f20c1241d59 (diff) |
radeonsi: add more state flags into si_state_dsa
3 flags for primitive binning, 2 flags for out-of-order rasterization
(but that will be done some other time)
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 7b7d96c0665..9770960dd22 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -91,8 +91,13 @@ struct si_dsa_stencil_ref_part { struct si_state_dsa { struct si_pm4_state pm4; - unsigned alpha_func; struct si_dsa_stencil_ref_part stencil_ref; + ubyte alpha_func:3; + bool depth_enabled:1; + bool depth_write_enabled:1; + bool stencil_enabled:1; + bool stencil_write_enabled:1; + bool db_can_write:1; }; struct si_stencil_ref { |