Commit 5321c808 by Olli Etuaho

Add unsigned literal support to GLSL output

BUG=angleproject:964 Change-Id: I8eb3cfd8d49beded4ac55ead97b50c7691e4980a Reviewed-on: https://chromium-review.googlesource.com/263710Tested-by: 's avatarOlli Etuaho <oetuaho@nvidia.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent c46f45d9
...@@ -204,6 +204,9 @@ const ConstantUnion *TOutputGLSLBase::writeConstantUnion( ...@@ -204,6 +204,9 @@ const ConstantUnion *TOutputGLSLBase::writeConstantUnion(
case EbtInt: case EbtInt:
out << pConstUnion->getIConst(); out << pConstUnion->getIConst();
break; break;
case EbtUInt:
out << pConstUnion->getUConst() << "u";
break;
case EbtBool: case EbtBool:
out << pConstUnion->getBConst(); out << pConstUnion->getBConst();
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