Henri Verbeet : wined3d: Recognize the SM4 rsq opcode.
Module: wine Branch: master Commit: 7539cd5c8554d4738cbbcd0c389ef59c7d70669a URL: http://source.winehq.org/git/wine.git/?a=commit;h=7539cd5c8554d4738cbbcd0c38... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Thu Jul 16 13:08:23 2009 +0200 wined3d: Recognize the SM4 rsq 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 f5c3e65..418e7b2 100644 --- a/dlls/wined3d/shader_sm4.c +++ b/dlls/wined3d/shader_sm4.c @@ -53,6 +53,7 @@ enum wined3d_sm4_opcode WINED3D_SM4_OP_MOV = 0x36, WINED3D_SM4_OP_MUL = 0x38, WINED3D_SM4_OP_RET = 0x3e, + WINED3D_SM4_OP_RSQ = 0x44, WINED3D_SM4_OP_SINCOS = 0x4d, }; @@ -100,6 +101,7 @@ static const struct wined3d_sm4_opcode_info opcode_table[] = {WINED3D_SM4_OP_MOV, WINED3DSIH_MOV, 1, 1}, {WINED3D_SM4_OP_MUL, WINED3DSIH_MUL, 1, 2}, {WINED3D_SM4_OP_RET, WINED3DSIH_RET, 0, 0}, + {WINED3D_SM4_OP_RSQ, WINED3DSIH_RSQ, 1, 1}, {WINED3D_SM4_OP_SINCOS, WINED3DSIH_SINCOS, 1, 2}, };
participants (1)
-
Alexandre Julliard