diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-15 16:04:26 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-15 16:41:31 -0600 |
commit | 537d00e9c67017f07aafcd43b9d621759b29ed1b (patch) | |
tree | ad63da565048858f6cafc07a7efda1f2905e9fed | |
parent | d63943f7169c001e42e98ec4b60dcb5b95d9ee05 (diff) |
mesa: add missing IR_LOG2 case
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index a3b63434d0..ffbb588585 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -1645,6 +1645,9 @@ emit(slang_emit_info *emitInfo, slang_ir_node *n) case IR_COS: case IR_DDX: case IR_DDY: + case IR_EXP: + case IR_EXP2: + case IR_LOG2: case IR_NOISE1: case IR_NOISE2: case IR_NOISE3: @@ -1665,8 +1668,6 @@ emit(slang_emit_info *emitInfo, slang_ir_node *n) case IR_SLE: case IR_SLT: case IR_POW: - case IR_EXP: - case IR_EXP2: /* trinary operators */ case IR_LRP: return emit_arith(emitInfo, n); |