diff options
author | Axel Davy <[email protected]> | 2016-10-23 12:16:38 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:20 +0100 |
commit | 8b021be769ae74ba0bf5d79b7faee693f5cd5807 (patch) | |
tree | 25253da34b4516bff3a9c2053d3e1d854c1815d6 | |
parent | b3b593b83b25b84975d2898d34dafa01d23c61b3 (diff) |
st/nine: Add missing changed states to pixel stateblocks
Some states were not properly recorded in pixel stateblocks.
Signed-off-by: Axel Davy <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/nine/device9.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index 1796fa3ce74..5b4d2ae0878 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -2520,7 +2520,10 @@ NineDevice9_CreateStateBlock( struct NineDevice9 *This, } if (Type == D3DSBT_ALL || Type == D3DSBT_PIXELSTATE) { dst->changed.group |= - NINE_STATE_PS | NINE_STATE_PS_CONST; + NINE_STATE_PS | NINE_STATE_PS_CONST | NINE_STATE_BLEND | + NINE_STATE_FF_OTHER | NINE_STATE_FF_PSSTAGES | NINE_STATE_PS_CONST | + NINE_STATE_FB | NINE_STATE_DSA | NINE_STATE_MULTISAMPLE | + NINE_STATE_RASTERIZER | NINE_STATE_STENCIL_REF; /* TODO: texture/sampler state */ memcpy(dst->changed.rs, nine_render_states_pixel, sizeof(dst->changed.rs)); |