Commit 6dc09cd0 by John Kessenich

glslang: support negation of doubles.

parent edd18194
...@@ -33,7 +33,7 @@ layout (location = 12) in dmat2x4 vs_tcs_last[]; ...@@ -33,7 +33,7 @@ layout (location = 12) in dmat2x4 vs_tcs_last[];
void foo() 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])) (dmat2x4(dvec4(0.375, 0.5, 0.625, 0.75), dvec4(0.625, 0.75, 0.875, -0.625)) != vs_tcs_last[0]))
{ {
; ;
......
...@@ -1065,7 +1065,8 @@ bool TIntermUnary::promote() ...@@ -1065,7 +1065,8 @@ bool TIntermUnary::promote()
case EOpPreDecrement: case EOpPreDecrement:
if (operand->getBasicType() != EbtInt && if (operand->getBasicType() != EbtInt &&
operand->getBasicType() != EbtUint && operand->getBasicType() != EbtUint &&
operand->getBasicType() != EbtFloat) operand->getBasicType() != EbtFloat &&
operand->getBasicType() != EbtDouble)
return false; return false;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment