From 0f91310bf3e0955fad636e5d50c51ffabb9dcf82 Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 16 Jan 2007 14:17:57 -0700 Subject: comments --- src/mesa/shader/slang/library/slang_core.gc | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'src/mesa/shader/slang/library/slang_core.gc') diff --git a/src/mesa/shader/slang/library/slang_core.gc b/src/mesa/shader/slang/library/slang_core.gc index 063de8428b..0b5a912046 100644 --- a/src/mesa/shader/slang/library/slang_core.gc +++ b/src/mesa/shader/slang/library/slang_core.gc @@ -2257,22 +2257,12 @@ bool __operator <= (const int a, const int b) { return float (a) <= float (b); } -bool __operator ^^ (const bool a, const bool b) { - return a != b; -} +//bool __operator ^^ (const bool a, const bool b) { +// return a != b; +//} -// -// These operators are handled internally by the compiler: -// -// bool __operator && (bool a, bool b) { -// return a ? b : false; -// } -// bool __operator || (bool a, bool b) { -// return a ? true : b; -// } -// bool __logicalNot(const bool a) { @@ -2297,6 +2287,7 @@ bool __logicalOr(const bool a, const bool b) bool __logicalXor(const bool a, const bool b) { + // XXX return a != b; if (a) return __logicalNot(b); return b; -- cgit v1.2.3