Commit 6fedd6c0 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wined3d: Primitive misc caps fix.

parent 93f5e0a7
......@@ -1692,13 +1692,30 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
WINED3DDEVCAPS_DRAWPRIMITIVES2 |
WINED3DDEVCAPS_DRAWPRIMITIVES2EX;
*pCaps->PrimitiveMiscCaps = D3DPMISCCAPS_CULLCCW |
*pCaps->PrimitiveMiscCaps = D3DPMISCCAPS_CULLNONE |
D3DPMISCCAPS_CULLCCW |
D3DPMISCCAPS_CULLCW |
D3DPMISCCAPS_COLORWRITEENABLE |
D3DPMISCCAPS_CLIPTLVERTS |
D3DPMISCCAPS_CLIPPLANESCALEDPOINTS |
D3DPMISCCAPS_MASKZ;
/*NOT: D3DPMISCCAPS_TSSARGTEMP*/
D3DPMISCCAPS_MASKZ |
D3DPMISCCAPS_BLENDOP;
/* TODO:
D3DPMISCCAPS_NULLREFERENCE
D3DPMISCCAPS_INDEPENDENTWRITEMASKS
D3DPMISCCAPS_FOGANDSPECULARALPHA
D3DPMISCCAPS_SEPARATEALPHABLEND
D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS
D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING
D3DPMISCCAPS_FOGVERTEXCLAMPED */
/* The caps below can be supported but aren't handled yet in utils.c 'd3dta_to_combiner_input', disable them until support is fixed */
#if 0
if (GL_SUPPORT(NV_REGISTER_COMBINERS))
*pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_TSSARGTEMP;
if (GL_SUPPORT(NV_REGISTER_COMBINERS2))
*pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_PERSTAGECONSTANT;
#endif
*pCaps->RasterCaps = WINED3DPRASTERCAPS_DITHER |
WINED3DPRASTERCAPS_PAT |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment