Henri Verbeet : wined3d: Recognize the SM4 dp3 opcode.

Alexandre Julliard julliard at winehq.org
Thu Jul 16 11:58:34 CDT 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Jul 16 13:08:24 2009 +0200

wined3d: Recognize the SM4 dp3 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 418e7b2..30e9862 100644
--- a/dlls/wined3d/shader_sm4.c
+++ b/dlls/wined3d/shader_sm4.c
@@ -49,6 +49,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
 enum wined3d_sm4_opcode
 {
     WINED3D_SM4_OP_ADD      = 0x00,
+    WINED3D_SM4_OP_DP3      = 0x10,
     WINED3D_SM4_OP_EXP      = 0x19,
     WINED3D_SM4_OP_MOV      = 0x36,
     WINED3D_SM4_OP_MUL      = 0x38,
@@ -97,6 +98,7 @@ struct sysval_map
 static const struct wined3d_sm4_opcode_info opcode_table[] =
 {
     {WINED3D_SM4_OP_ADD,    WINED3DSIH_ADD,         1,  2},
+    {WINED3D_SM4_OP_DP3,    WINED3DSIH_DP3,         1,  2},
     {WINED3D_SM4_OP_EXP,    WINED3DSIH_EXP,         1,  1},
     {WINED3D_SM4_OP_MOV,    WINED3DSIH_MOV,         1,  1},
     {WINED3D_SM4_OP_MUL,    WINED3DSIH_MUL,         1,  2},




More information about the wine-cvs mailing list