=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Implement SM5 ibfe instruction.

Alexandre Julliard julliard at winehq.org
Tue Apr 4 14:54:53 CDT 2017


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

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Tue Apr  4 12:35:54 2017 +0200

wined3d: Implement SM5 ibfe instruction.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/glsl_shader.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index d36d99c..8bb8a27 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -4164,6 +4164,7 @@ static void shader_glsl_bitwise_op(const struct wined3d_shader_instruction *ins)
     switch (ins->handler_idx)
     {
         case WINED3DSIH_BFI:  instruction = "bitfieldInsert";  break;
+        case WINED3DSIH_IBFE: instruction = "bitfieldExtract"; break;
         case WINED3DSIH_UBFE: instruction = "bitfieldExtract"; break;
         default:
             ERR("Unhandled opcode %#x.\n", ins->handler_idx);
@@ -9963,7 +9964,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
     /* WINED3DSIH_HS_FORK_PHASE                    */ NULL,
     /* WINED3DSIH_HS_JOIN_PHASE                    */ NULL,
     /* WINED3DSIH_IADD                             */ shader_glsl_binop,
-    /* WINED3DSIH_IBFE                             */ NULL,
+    /* WINED3DSIH_IBFE                             */ shader_glsl_bitwise_op,
     /* WINED3DSIH_IEQ                              */ shader_glsl_relop,
     /* WINED3DSIH_IF                               */ shader_glsl_if,
     /* WINED3DSIH_IFC                              */ shader_glsl_ifc,




More information about the wine-cvs mailing list