Commit 4d2040a6 by Geoff Lang Committed by Commit Bot

Make GLSLTest_ES31.MixOfAllResources more lenient.

Lower precision in Vulkan caused off-by-one issues with this test. BUG=angleproject:4438 Change-Id: I17111a06133ef403be1f0c99321f1dbf8ab6083c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2078791Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent f0d32401
......@@ -7713,7 +7713,7 @@ void main(void)
glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(outputInitData), GL_MAP_READ_BIT));
EXPECT_EQ(ptr[0], inputData);
EXPECT_EQ(ptr[1], uniformData);
EXPECT_EQ(ptr[2], textureData.R);
EXPECT_NEAR(ptr[2], textureData.R, 1.0);
EXPECT_EQ(ptr[3], acData);
EXPECT_EQ(ptr[4], imageData);
......
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