diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-16 14:17:57 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-16 14:17:57 -0700 |
commit | 0f91310bf3e0955fad636e5d50c51ffabb9dcf82 (patch) | |
tree | 3cd4b0f641c9d9f45fc608d4702f272515e4d3e9 /src/mesa/shader/slang/library/slang_core.gc | |
parent | d90c655b0571c474785fa94b4c64ab099a2229a2 (diff) |
comments
Diffstat (limited to 'src/mesa/shader/slang/library/slang_core.gc')
-rw-r--r-- | src/mesa/shader/slang/library/slang_core.gc | 17 |
1 files changed, 4 insertions, 13 deletions
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; |