diff options
author | Chia-I Wu <[email protected]> | 2015-01-26 01:08:31 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-02-12 07:56:10 +0800 |
commit | aa354b92d259d9fc5e85c49c76719ebc8e3c1b4a (patch) | |
tree | 68b6eb2c31082235acd952e1878e196f7d7a9be3 /src/gallium/drivers/ilo/ilo_state.h | |
parent | 1d07055b5087bf7c0cca50b7b5a5635bfdd85885 (diff) |
ilo: clean up ilo_gpe_init_blend()
Make ilo_blend_state more space efficient and forward-looking.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h index afe27847a93..cecca3e4abd 100644 --- a/src/gallium/drivers/ilo/ilo_state.h +++ b/src/gallium/drivers/ilo/ilo_state.h @@ -252,17 +252,17 @@ struct ilo_blend_cso { uint32_t dw_blend; uint32_t dw_blend_dst_alpha_forced_one; - - uint32_t dw_logicop; - uint32_t dw_alpha_mod; }; struct ilo_blend_state { struct ilo_blend_cso cso[ILO_MAX_DRAW_BUFFERS]; - bool independent_blend_enable; bool dual_blend; bool alpha_to_coverage; + + uint32_t dw_shared; + uint32_t dw_alpha_mod; + uint32_t dw_logicop; }; struct ilo_sampler_cso { |