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