Fixed some unary operators

There were a few issues in unary operators:
- Many were not compiling because the promote function had not
  been adjusted to take the new builtin functions into account
- abs and sign had not been implemented for int
- For the integer abs version, used pabsd. Removed the extra
  argument, which seemed unnecessary (abs should have 1 input,
  1 output, AFAIK).

Change-Id: If02c5040438e8c45c99fc7b3c55107448c85cf58
Reviewed-on: https://swiftshader-review.googlesource.com/4970
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/compiler/Intermediate.cpp b/src/OpenGL/compiler/Intermediate.cpp
index a0247b9..7692081 100644
--- a/src/OpenGL/compiler/Intermediate.cpp
+++ b/src/OpenGL/compiler/Intermediate.cpp
@@ -752,6 +752,20 @@
         case EOpAny:
         case EOpAll:
         case EOpVectorLogicalNot:
+		case EOpAbs:
+		case EOpSign:
+		case EOpIsNan:
+		case EOpIsInf:
+		case EOpFloatBitsToInt:
+		case EOpFloatBitsToUint:
+		case EOpIntBitsToFloat:
+		case EOpUintBitsToFloat:
+		case EOpPackSnorm2x16:
+		case EOpPackUnorm2x16:
+		case EOpPackHalf2x16:
+		case EOpUnpackSnorm2x16:
+		case EOpUnpackUnorm2x16:
+		case EOpUnpackHalf2x16:
             return true;
 
         default: