Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: gpu/command_buffer/tests/gl_depth_texture_unittest.cc

Issue 10748014: re-enable depth texture gl test (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_depth_texture_unittest.cc
diff --git a/gpu/command_buffer/tests/gl_depth_texture_unittest.cc b/gpu/command_buffer/tests/gl_depth_texture_unittest.cc
index 3cdddfb85f9230d17d44fed1d01b1d964f1a5962..e7a01aae0c238d67a2d5cb2542cb2694468fd529 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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698