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
This commit is contained in:
John Kessenich 2015-04-17 22:03:30 +00:00
parent edd181944e
commit 6dc09cd0f3
2 changed files with 3 additions and 2 deletions

View file

@ -1065,7 +1065,8 @@ bool TIntermUnary::promote()
case EOpPreDecrement:
if (operand->getBasicType() != EbtInt &&
operand->getBasicType() != EbtUint &&
operand->getBasicType() != EbtFloat)
operand->getBasicType() != EbtFloat &&
operand->getBasicType() != EbtDouble)
return false;
break;