Henri Verbeet : wined3d: Recognize the SM4 endif opcode.

Alexandre Julliard julliard at winehq.org
Thu Jan 7 13:08:34 CST 2010


Module: wine
Branch: master
Commit: 0296aaa6a6a0bb2178bea38caf5814d4b32dd302
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0296aaa6a6a0bb2178bea38caf5814d4b32dd302

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Jan  6 23:22:15 2010 +0100

wined3d: Recognize the SM4 endif opcode.

---

 dlls/wined3d/shader_sm4.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/shader_sm4.c b/dlls/wined3d/shader_sm4.c
index b473844..782289e 100644
--- a/dlls/wined3d/shader_sm4.c
+++ b/dlls/wined3d/shader_sm4.c
@@ -54,6 +54,7 @@ enum wined3d_sm4_opcode
     WINED3D_SM4_OP_DP3      = 0x10,
     WINED3D_SM4_OP_DP4      = 0x11,
     WINED3D_SM4_OP_EMIT     = 0x13,
+    WINED3D_SM4_OP_ENDIF    = 0x15,
     WINED3D_SM4_OP_EXP      = 0x19,
     WINED3D_SM4_OP_IADD     = 0x1e,
     WINED3D_SM4_OP_IF       = 0x1f,
@@ -114,6 +115,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] =
     {WINED3D_SM4_OP_DP3,    WINED3DSIH_DP3,         1,  2},
     {WINED3D_SM4_OP_DP4,    WINED3DSIH_DP4,         1,  2},
     {WINED3D_SM4_OP_EMIT,   WINED3DSIH_EMIT,        0,  0},
+    {WINED3D_SM4_OP_ENDIF,  WINED3DSIH_ENDIF,       0,  0},
     {WINED3D_SM4_OP_EXP,    WINED3DSIH_EXP,         1,  1},
     {WINED3D_SM4_OP_IADD,   WINED3DSIH_IADD,        1,  2},
     {WINED3D_SM4_OP_IF,     WINED3DSIH_IF,          0,  1},




More information about the wine-cvs mailing list