From: Kenneth Graunke Date: Thu, 22 Apr 2010 06:47:07 +0000 (-0700) Subject: Use "neg" when printing/reading unary negation rather than "-". X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d290d786d702cfc5eb7b6aefd6cb5b2c946ab88;p=mesa.git Use "neg" when printing/reading unary negation rather than "-". "-" is now only used for binary subtraction. --- diff --git a/ir.cpp b/ir.cpp index 3f4c40d0c99..63135e35533 100644 --- a/ir.cpp +++ b/ir.cpp @@ -111,7 +111,7 @@ ir_expression::get_num_operands(ir_expression_operation op) static const char *const operator_strs[] = { "~", "!", - "-", + "neg", "abs", "rcp", "rsq",