glslang: support negation of doubles.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30795 e7fa87d3-cd2b-0410-9028-fcbf551c1848
diff --git a/Test/420.tesc b/Test/420.tesc
index 432bb36..93f2386 100644
--- a/Test/420.tesc
+++ b/Test/420.tesc
@@ -33,7 +33,7 @@
 

 void foo()

 {

- if ((dmat2x4(dvec4(-0.625, -0.5, -0.375, -0.25), dvec4(-0.375, -0.25, -0.125, 0)) != vs_tcs_first[0]) ||

+ if ((dmat2x4(dvec4(-0.625, -0.5, -0.375lf, -0.25), dvec4(-0.375, -0.25, -0.125, 0)) != vs_tcs_first[0]) ||

         (dmat2x4(dvec4(0.375, 0.5, 0.625, 0.75), dvec4(0.625, 0.75, 0.875, -0.625)) != vs_tcs_last[0]))

     {

         ;

diff --git a/glslang/MachineIndependent/Intermediate.cpp b/glslang/MachineIndependent/Intermediate.cpp
index 40da8d6..e37830d 100644
--- a/glslang/MachineIndependent/Intermediate.cpp
+++ b/glslang/MachineIndependent/Intermediate.cpp
@@ -1065,7 +1065,8 @@
     case EOpPreDecrement:
         if (operand->getBasicType() != EbtInt && 
             operand->getBasicType() != EbtUint && 
-            operand->getBasicType() != EbtFloat)
+            operand->getBasicType() != EbtFloat &&
+            operand->getBasicType() != EbtDouble)
 
             return false;
         break;