Commit fb3173b9 by Gert Wollny Committed by Commit Bot

FrameCapture: write the float values with high precision

Because values might be the result of calculations that require some accuracy, writing the float values with the default formatting may not be sufficient to replay correctly, therefore format the values so that they carry more digits. In addition, enable the test that are now passing. Bug: angleproject:5846 Bug: angleproject:5847 Change-Id: I305552a1ffa3cded6326df59883912e14c95f5f5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2822257 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 2d873e0c
...@@ -318,6 +318,7 @@ void WriteGLFloatValue(std::ostream &out, GLfloat value) ...@@ -318,6 +318,7 @@ void WriteGLFloatValue(std::ostream &out, GLfloat value)
} }
else else
{ {
out << std::setprecision(16);
out << value; out << value;
} }
} }
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
# Failed tests # Failed tests
BindGeneratesResourceTest.* BindGeneratesResourceTest.*
ClearTest.Depth16Scissored/*
ClearTest.InceptionScissorClears/*
ClientArraysTest.* ClientArraysTest.*
CopyTextureTestWebGL.NPOT/* CopyTextureTestWebGL.NPOT/*
D3DImageFormatConversionTest.* D3DImageFormatConversionTest.*
......
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