Ivan Gyurdiev : wined3d: DEFI takes 5 parameters.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed May 17 04:46:45 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 6b5d07639485d6c2d869c1f84ca69756c84f9cc0
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6b5d07639485d6c2d869c1f84ca69756c84f9cc0
Author: Ivan Gyurdiev <ivg2 at cornell.edu>
Date: Wed May 17 01:55:32 2006 -0400
wined3d: DEFI takes 5 parameters.
According the spec and the Painkiller log, DEFI has 5 parameters on
vertex shaders.
---
dlls/wined3d/vertexshader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 7325032..9475412 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -456,7 +456,7 @@ void vshader_defb(WINED3DSHADERVECTOR* d
FIXME(" : Stub\n");
}
-void vshader_defi(WINED3DSHADERVECTOR* d) {
+void vshader_defi(WINED3DSHADERVECTOR* d, WINED3DSHADERVECTOR* s0, WINED3DSHADERVECTOR* s1, WINED3DSHADERVECTOR* s2, WINED3DSHADERVECTOR* s3) {
FIXME(" : Stub\n");
}
@@ -539,7 +539,7 @@ CONST SHADER_OPCODE IWineD3DVertexShader
/* Constant definitions */
{D3DSIO_DEF, "def", NULL, 5, vshader_def, vshader_hw_def, NULL, 0, 0},
{D3DSIO_DEFB, "defb", GLNAME_REQUIRE_GLSL, 2, vshader_defb, NULL, NULL, 0, 0},
- {D3DSIO_DEFI, "defi", GLNAME_REQUIRE_GLSL, 2, vshader_defi, NULL, NULL, 0, 0},
+ {D3DSIO_DEFI, "defi", GLNAME_REQUIRE_GLSL, 5, vshader_defi, NULL, NULL, 0, 0},
/* Flow control - requires GLSL or software shaders */
{D3DSIO_REP , "rep", GLNAME_REQUIRE_GLSL, 1, vshader_rep, NULL, NULL, 0, 0},
More information about the wine-cvs
mailing list