summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r--gpu/command_buffer/tests/gl_depth_texture_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/tests/gl_depth_texture_unittest.cc b/gpu/command_buffer/tests/gl_depth_texture_unittest.cc
index 3cdddfb..e7a01aae 100644
--- a/gpu/command_buffer/tests/gl_depth_texture_unittest.cc
+++ b/gpu/command_buffer/tests/gl_depth_texture_unittest.cc
@@ -60,9 +60,7 @@ struct FormatType {
} // anonymous namespace
-// Temporarily marked disabled due to failure on gpu bots.
-// https://code.google.com/p/chromium/issues/detail?id=135229
-TEST_F(DepthTextureTest, DISABLED_RenderTo) {
+TEST_F(DepthTextureTest, RenderTo) {
if (!GLTestHelper::HasExtension("GL_CHROMIUM_depth_texture")) {
return;
}
@@ -189,6 +187,8 @@ TEST_F(DepthTextureTest, DISABLED_RenderTo) {
if (yy > 0) {
EXPECT_GT(actual[0], down[0]);
}
+
+ EXPECT_TRUE(actual[3] == actual[0] || actual[3] == 0xFF);
}
}