From dfce576bd9cbc9cfce2c2a16cc21b966b1194845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zef=20Kucia?= Date: Tue, 4 Apr 2017 12:35:54 +0200 Subject: [PATCH] wined3d: Implement SM5 ibfe instruction. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Józef Kucia Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- 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 d36d99c2ce9..8bb8a27a517 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,