Author: greatlrd
Date: Sun Oct 22 12:23:13 2006
New Revision: 24598
URL:
http://svn.reactos.org/svn/reactos?rev=24598&view=rev
Log:
correct D3DHAL_DP2OPERATION struct
this include file should be rewriten
Modified:
trunk/reactos/include/ddk/d3dhal.h
Modified: trunk/reactos/include/ddk/d3dhal.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/d3dhal.h?rev=2…
==============================================================================
--- trunk/reactos/include/ddk/d3dhal.h (original)
+++ trunk/reactos/include/ddk/d3dhal.h Sun Oct 22 12:23:13 2006
@@ -304,7 +304,6 @@
D3DDP2OP_POINTS = 1,
D3DDP2OP_INDEXEDLINELIST = 2,
D3DDP2OP_INDEXEDTRIANGLELIST = 3,
- D3DDP2OP_RESERVED0 = 4,
D3DDP2OP_RENDERSTATE = 8,
D3DDP2OP_LINELIST = 15,
D3DDP2OP_LINESTRIP = 16,
@@ -329,8 +328,7 @@
D3DDP2OP_SETMATERIAL = 33,
D3DDP2OP_SETLIGHT = 34,
D3DDP2OP_CREATELIGHT = 35,
- D3DDP2OP_SETTRANSFORM = 36,
- D3DDP2OP_EXT = 37,
+ D3DDP2OP_SETTRANSFORM = 36,
D3DDP2OP_TEXBLT = 38,
D3DDP2OP_STATESET = 39,
D3DDP2OP_SETPRIORITY = 40,
@@ -339,7 +337,58 @@
D3DDP2OP_CLEAR = 42,
/* DirectX 7 interfaces */
D3DDP2OP_SETTEXLOD = 43,
- D3DPP2OP_SETCLIPPLANE = 44
+ D3DPP2OP_SETCLIPPLANE = 44,
+#if(DIRECT3D_VERSION >= 0x0800)
+ D3DDP2OP_CREATEVERTEXSHADER = 45,
+ D3DDP2OP_DELETEVERTEXSHADER = 46,
+ D3DDP2OP_SETVERTEXSHADER = 47,
+ D3DDP2OP_SETVERTEXSHADERCONST = 48,
+ D3DDP2OP_SETSTREAMSOURCE = 49,
+ D3DDP2OP_SETSTREAMSOURCEUM = 50,
+ D3DDP2OP_SETINDICES = 51,
+ D3DDP2OP_DRAWPRIMITIVE = 52,
+ D3DDP2OP_DRAWINDEXEDPRIMITIVE = 53,
+ D3DDP2OP_CREATEPIXELSHADER = 54,
+ D3DDP2OP_DELETEPIXELSHADER = 55,
+ D3DDP2OP_SETPIXELSHADER = 56,
+ D3DDP2OP_SETPIXELSHADERCONST = 57,
+ D3DDP2OP_CLIPPEDTRIANGLEFAN = 58,
+ D3DDP2OP_DRAWPRIMITIVE2 = 59,
+ D3DDP2OP_DRAWINDEXEDPRIMITIVE2= 60,
+ D3DDP2OP_DRAWRECTPATCH = 61,
+ D3DDP2OP_DRAWTRIPATCH = 62,
+ D3DDP2OP_VOLUMEBLT = 63,
+ D3DDP2OP_BUFFERBLT = 64,
+ D3DDP2OP_MULTIPLYTRANSFORM = 65,
+ D3DDP2OP_ADDDIRTYRECT = 66,
+ D3DDP2OP_ADDDIRTYBOX = 67,
+#endif
+#if(DIRECT3D_VERSION >= 0x0900)
+ D3DDP2OP_CREATEVERTEXSHADERDECL = 71,
+ D3DDP2OP_DELETEVERTEXSHADERDECL = 72,
+ D3DDP2OP_SETVERTEXSHADERDECL = 73,
+ D3DDP2OP_CREATEVERTEXSHADERFUNC = 74,
+ D3DDP2OP_DELETEVERTEXSHADERFUNC = 75,
+ D3DDP2OP_SETVERTEXSHADERFUNC = 76,
+ D3DDP2OP_SETVERTEXSHADERCONSTI = 77,
+ D3DDP2OP_SETSCISSORRECT = 79,
+ D3DDP2OP_SETSTREAMSOURCE2 = 80,
+ D3DDP2OP_BLT = 81,
+ D3DDP2OP_COLORFILL = 82,
+ D3DDP2OP_SETVERTEXSHADERCONSTB = 83,
+ D3DDP2OP_CREATEQUERY = 84,
+ D3DDP2OP_SETRENDERTARGET2 = 85,
+ D3DDP2OP_SETDEPTHSTENCIL = 86,
+ D3DDP2OP_RESPONSECONTINUE = 87,
+ D3DDP2OP_RESPONSEQUERY = 88,
+ D3DDP2OP_GENERATEMIPSUBLEVELS = 89,
+ D3DDP2OP_DELETEQUERY = 90,
+ D3DDP2OP_ISSUEQUERY = 91,
+ D3DDP2OP_SETPIXELSHADERCONSTI = 93,
+ D3DDP2OP_SETPIXELSHADERCONSTB = 94,
+ D3DDP2OP_SETSTREAMSOURCEFREQ = 95,
+ D3DDP2OP_SURFACEBLT = 96
+#endif
} D3DHAL_DP2OPERATION;
/* point primitives */