Ivan Gyurdiev : wined3d: Dcl opcode takes 2 parameters.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 18 05:13:47 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: e0a1442f6c7f1b34e5b5fcbc644200748f6c4440
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e0a1442f6c7f1b34e5b5fcbc644200748f6c4440

Author: Ivan Gyurdiev <ivg2 at cornell.edu>
Date:   Sat Apr 15 15:00:36 2006 -0400

wined3d: Dcl opcode takes 2 parameters.

---

 dlls/wined3d/pixelshader.c  |    2 +-
 dlls/wined3d/vertexshader.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c
index f0d5f8c..e010452 100644
--- a/dlls/wined3d/pixelshader.c
+++ b/dlls/wined3d/pixelshader.c
@@ -662,7 +662,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderI
 
     /** FIXME: use direct access so add the others opcodes as stubs */
     /* DCL is a specil operation */
-    {D3DSIO_DCL,      "dcl",      NULL,   1, pshader_dcl,     0, 0},
+    {D3DSIO_DCL,      "dcl",      NULL,   2, pshader_dcl,     0, 0},
     {D3DSIO_POW,      "pow",      "POW",  3, pshader_pow,     0, 0},
     {D3DSIO_CRS,      "crs",      "XPS",  3, pshader_crs,     0, 0},
     /* TODO: sng can possibly be performed as
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index b2dd7b9..4179c0f 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -611,7 +611,7 @@ CONST SHADER_OPCODE IWineD3DVertexShader
 
     /** FIXME: use direct access so add the others opcodes as stubs */
     /* DCL is a specil operation */
-    {D3DSIO_DCL,      "dcl",      NULL,   1, vshader_dcl,     0, 0},
+    {D3DSIO_DCL,      "dcl",      NULL,   2, vshader_dcl,     0, 0},
     {D3DSIO_POW,      "pow",      "POW",  3, vshader_pow,     0, 0},
     {D3DSIO_CRS,      "crs",      "XPS",  3, vshader_crs,     0, 0},
     /* TODO: sng can possibly be performed as




More information about the wine-cvs mailing list