Commit 4f7f5b6c authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

include: Get rid of raster caps bits not available in the SDK version of d3d9caps.h.

parent d6d88ae8
......@@ -4025,13 +4025,14 @@ static void test_device_caps(void)
| D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING | D3DPMISCCAPS_FOGVERTEXCLAMPED
| D3DPMISCCAPS_POSTBLENDSRGBCONVERT)),
"PrimitiveMiscCaps field has unexpected flags %#x.\n", caps.PrimitiveMiscCaps);
ok(!(caps.RasterCaps & ~(D3DPRASTERCAPS_DITHER | D3DPRASTERCAPS_PAT | D3DPRASTERCAPS_ZTEST
| D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_FOGTABLE | D3DPRASTERCAPS_ANTIALIASEDGES
| D3DPRASTERCAPS_MIPMAPLODBIAS | D3DPRASTERCAPS_ZBIAS | D3DPRASTERCAPS_ZBUFFERLESSHSR
ok(!(caps.RasterCaps & ~(D3DPRASTERCAPS_DITHER | D3DPRASTERCAPS_ZTEST
| D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_FOGTABLE
| D3DPRASTERCAPS_MIPMAPLODBIAS | D3DPRASTERCAPS_ZBUFFERLESSHSR
| D3DPRASTERCAPS_FOGRANGE | D3DPRASTERCAPS_ANISOTROPY | D3DPRASTERCAPS_WBUFFER
| D3DPRASTERCAPS_WFOG | D3DPRASTERCAPS_ZFOG | D3DPRASTERCAPS_COLORPERSPECTIVE
| D3DPRASTERCAPS_SCISSORTEST | D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS
| D3DPRASTERCAPS_DEPTHBIAS | D3DPRASTERCAPS_MULTISAMPLE_TOGGLE)),
| D3DPRASTERCAPS_DEPTHBIAS | D3DPRASTERCAPS_MULTISAMPLE_TOGGLE))
|| broken(!(caps.RasterCaps & ~0x0f736191)),
"RasterCaps field has unexpected flags %#x.\n", caps.RasterCaps);
/* D3DPBLENDCAPS_SRCCOLOR2 and D3DPBLENDCAPS_INVSRCCOLOR2 are only
* advertised on the reference rasterizer and WARP. */
......
......@@ -12644,13 +12644,14 @@ static void test_device_caps(void)
| D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING | D3DPMISCCAPS_FOGVERTEXCLAMPED
| D3DPMISCCAPS_POSTBLENDSRGBCONVERT)),
"PrimitiveMiscCaps field has unexpected flags %#x.\n", caps.PrimitiveMiscCaps);
ok(!(caps.RasterCaps & ~(D3DPRASTERCAPS_DITHER | D3DPRASTERCAPS_PAT | D3DPRASTERCAPS_ZTEST
| D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_FOGTABLE | D3DPRASTERCAPS_ANTIALIASEDGES
| D3DPRASTERCAPS_MIPMAPLODBIAS | D3DPRASTERCAPS_ZBIAS | D3DPRASTERCAPS_ZBUFFERLESSHSR
ok(!(caps.RasterCaps & ~(D3DPRASTERCAPS_DITHER | D3DPRASTERCAPS_ZTEST
| D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_FOGTABLE
| D3DPRASTERCAPS_MIPMAPLODBIAS | D3DPRASTERCAPS_ZBUFFERLESSHSR
| D3DPRASTERCAPS_FOGRANGE | D3DPRASTERCAPS_ANISOTROPY | D3DPRASTERCAPS_WBUFFER
| D3DPRASTERCAPS_WFOG | D3DPRASTERCAPS_ZFOG | D3DPRASTERCAPS_COLORPERSPECTIVE
| D3DPRASTERCAPS_SCISSORTEST | D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS
| D3DPRASTERCAPS_DEPTHBIAS | D3DPRASTERCAPS_MULTISAMPLE_TOGGLE)),
| D3DPRASTERCAPS_DEPTHBIAS | D3DPRASTERCAPS_MULTISAMPLE_TOGGLE))
|| broken(!(caps.RasterCaps & ~0x0f736191)),
"RasterCaps field has unexpected flags %#x.\n", caps.RasterCaps);
/* D3DPBLENDCAPS_SRCCOLOR2 and D3DPBLENDCAPS_INVSRCCOLOR2 are only
* advertised on the reference rasterizer and WARP. */
......
......@@ -125,13 +125,10 @@
#endif
#define D3DPRASTERCAPS_DITHER __MSABI_LONG(0x00000001)
#define D3DPRASTERCAPS_PAT __MSABI_LONG(0x00000008)
#define D3DPRASTERCAPS_ZTEST __MSABI_LONG(0x00000010)
#define D3DPRASTERCAPS_FOGVERTEX __MSABI_LONG(0x00000080)
#define D3DPRASTERCAPS_FOGTABLE __MSABI_LONG(0x00000100)
#define D3DPRASTERCAPS_ANTIALIASEDGES __MSABI_LONG(0x00001000)
#define D3DPRASTERCAPS_MIPMAPLODBIAS __MSABI_LONG(0x00002000)
#define D3DPRASTERCAPS_ZBIAS __MSABI_LONG(0x00004000)
#define D3DPRASTERCAPS_ZBUFFERLESSHSR __MSABI_LONG(0x00008000)
#define D3DPRASTERCAPS_FOGRANGE __MSABI_LONG(0x00010000)
#define D3DPRASTERCAPS_ANISOTROPY __MSABI_LONG(0x00020000)
......
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