From e0a1442f6c7f1b34e5b5fcbc644200748f6c4440 Mon Sep 17 00:00:00 2001 From: Ivan Gyurdiev Date: Sat, 15 Apr 2006 15:00:36 -0400 Subject: [PATCH] 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 f0d5f8c8e5c..e010452fcc0 100644 --- a/dlls/wined3d/pixelshader.c +++ b/dlls/wined3d/pixelshader.c @@ -662,7 +662,7 @@ CONST SHADER_OPCODE IWineD3DPixelShaderImpl_shader_ins[] = { /** 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 b2dd7b92d6e..4179c0f4da6 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -611,7 +611,7 @@ CONST SHADER_OPCODE IWineD3DVertexShaderImpl_shader_ins[] = { /** 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