From 4f027a33b90fc855de324ac07328a7df0568c6af Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 16 Jan 2007 14:19:37 -0700 Subject: [PATCH] remove dead code --- src/mesa/shader/slang/slang_codegen.c | 11 ----------- 1 file changed, 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]), -- 2.30.2