diff options
author | Brian <[email protected]> | 2007-01-16 14:19:37 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-16 14:19:37 -0700 |
commit | 4f027a33b90fc855de324ac07328a7df0568c6af (patch) | |
tree | b8aeda3af6f7bc1b37e5396daaf2b8772acb8bf6 /src | |
parent | 0f91310bf3e0955fad636e5d50c51ffabb9dcf82 (diff) |
remove dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 635f47c20e0..666f36b7cfe 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1911,20 +1911,9 @@ _slang_gen_operation(slang_assemble_ctx * A, slang_operation *oper) _slang_gen_operation(A, &oper->children[1])); case slang_oper_less: /* child[0] < child[1] ----> child[1] > child[0] */ -#if 0 - { - slang_ir_node *n; - assert(oper->num_children == 2); - /* XXX tranpose children */ - n = _slang_gen_function_call_name(A, "<", oper, NULL); - return n; - } -#else - /** the operands must be ints or floats, not vectors */ return new_node(IR_SGT, _slang_gen_operation(A, &oper->children[1]), _slang_gen_operation(A, &oper->children[0])); -#endif case slang_oper_greaterequal: return new_node(IR_SGE, _slang_gen_operation(A, &oper->children[0]), |