From: Patrick Rudolph Date: Fri, 29 Apr 2016 06:50:16 +0000 (+0200) Subject: st/nine: Enable D3DPMISCCAPS_PERSTAGECONSTANT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de39231134348a5ffb92f7cc2b3098e11384912a;p=mesa.git st/nine: Enable D3DPMISCCAPS_PERSTAGECONSTANT Nine already supports the feature. There are no failing WINE tests for per stage constants. Enabling D3DPMISCCAPS_PERSTAGECONSTANT as it fixes https://github.com/iXit/Mesa-3D/issues/205 Signed-off-by: Patrick Rudolph Reviewed-by: Axel Davy --- diff --git a/src/gallium/state_trackers/nine/adapter9.c b/src/gallium/state_trackers/nine/adapter9.c index b06528d8c1b..41140d46f33 100644 --- a/src/gallium/state_trackers/nine/adapter9.c +++ b/src/gallium/state_trackers/nine/adapter9.c @@ -575,7 +575,7 @@ NineAdapter9_GetDeviceCaps( struct NineAdapter9 *This, D3DPMISCCAPS_TSSARGTEMP | D3DPMISCCAPS_BLENDOP | D3DPIPECAP(INDEP_BLEND_ENABLE, D3DPMISCCAPS_INDEPENDENTWRITEMASKS) | - /*D3DPMISCCAPS_PERSTAGECONSTANT |*/ /* TODO */ + D3DPMISCCAPS_PERSTAGECONSTANT | /*D3DPMISCCAPS_POSTBLENDSRGBCONVERT |*/ /* TODO */ D3DPMISCCAPS_FOGANDSPECULARALPHA | /* Note: documentation of the flag is wrong */ D3DPIPECAP(BLEND_EQUATION_SEPARATE, D3DPMISCCAPS_SEPARATEALPHABLEND) |