Commit d71948f8 by Nicolas Capens

Compile fixes for JBMR2.

Change-Id: I121abb32d898f5887586680b52c4283ee6e58f96 Reviewed-on: https://swiftshader-review.googlesource.com/3472Tested-by: 's avatarNicolas Capens <capn@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent 94352d96
......@@ -63,6 +63,7 @@ inline TFieldList *NewPoolTFieldList()
class TFieldListCollection
{
public:
virtual ~TFieldListCollection() { }
const TString &name() const
{
return *mName;
......
......@@ -2534,9 +2534,9 @@ namespace es2
if(uniformBlock.isArrayElement())
{
string += "[";
string += std::to_string(uniformBlock.elementIndex);
string += "]";
std::ostringstream elementIndex;
elementIndex << uniformBlock.elementIndex;
string += "[" + elementIndex.str() + "]";
}
strncpy(name, string.c_str(), bufSize);
......
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