Commit 3f21a039 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Implement SM4 ieq instruction.

parent 0e3e566d
......@@ -2976,6 +2976,7 @@ static void shader_glsl_relop(const struct wined3d_shader_instruction *ins)
switch (ins->handler_idx)
{
case WINED3DSIH_EQ: op = "equal"; break;
case WINED3DSIH_IEQ: op = "equal"; break;
case WINED3DSIH_GE: op = "greaterThanEqual"; break;
case WINED3DSIH_IGE: op = "greaterThanEqual"; break;
case WINED3DSIH_UGE: op = "greaterThanEqual"; break;
......@@ -2995,6 +2996,7 @@ static void shader_glsl_relop(const struct wined3d_shader_instruction *ins)
switch (ins->handler_idx)
{
case WINED3DSIH_EQ: op = "=="; break;
case WINED3DSIH_IEQ: op = "=="; break;
case WINED3DSIH_GE: op = ">="; break;
case WINED3DSIH_IGE: op = ">="; break;
case WINED3DSIH_UGE: op = ">="; break;
......@@ -8001,7 +8003,7 @@ static const SHADER_HANDLER shader_glsl_instruction_handler_table[WINED3DSIH_TAB
/* WINED3DSIH_FTOU */ shader_glsl_to_uint,
/* WINED3DSIH_GE */ shader_glsl_relop,
/* WINED3DSIH_IADD */ shader_glsl_binop,
/* WINED3DSIH_IEQ */ NULL,
/* WINED3DSIH_IEQ */ shader_glsl_relop,
/* WINED3DSIH_IF */ shader_glsl_if,
/* WINED3DSIH_IFC */ shader_glsl_ifc,
/* WINED3DSIH_IGE */ shader_glsl_relop,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment