From 8b021be769ae74ba0bf5d79b7faee693f5cd5807 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sun, 23 Oct 2016 12:16:38 +0200 Subject: [PATCH] st/nine: Add missing changed states to pixel stateblocks Some states were not properly recorded in pixel stateblocks. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/device9.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); -- 2.30.2