summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-01-25 18:20:43 +0800
committerChia-I Wu <[email protected]>2015-02-12 07:56:12 +0800
commit47dc2ae6e283423bad6286287b870dff63c7954c (patch)
tree24a5ca43e21517a8173dbdc9469c382f2a1f44d3 /src/gallium/drivers/ilo/ilo_state.h
parente8455128aacb470bef1c5b18c88eac556dffb3ba (diff)
ilo: update ilo_blend_state and related functions for Gen8
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.h b/src/gallium/drivers/ilo/ilo_state.h
index e935e5d5b78..737f50e31a4 100644
--- a/src/gallium/drivers/ilo/ilo_state.h
+++ b/src/gallium/drivers/ilo/ilo_state.h
@@ -250,7 +250,8 @@ struct ilo_dsa_state {
/* DEPTH_STENCIL_STATE or Gen8+ 3DSTATE_WM_DEPTH_STENCIL */
uint32_t payload[3];
- uint32_t dw_alpha;
+ uint32_t dw_blend_alpha;
+ uint32_t dw_ps_blend_alpha;
ubyte alpha_ref;
};
@@ -271,6 +272,10 @@ struct ilo_blend_state {
uint32_t dw_shared;
uint32_t dw_alpha_mod;
uint32_t dw_logicop;
+
+ /* a part of 3DSTATE_PS_BLEND */
+ uint32_t dw_ps_blend;
+ uint32_t dw_ps_blend_dst_alpha_forced_one;
};
struct ilo_sampler_cso {