From dd90b3e0c8f39216e586f8a2efcea61c71b622bb Mon Sep 17 00:00:00 2001 From: "gman@chromium.org" Date: Tue, 10 Jul 2012 18:09:25 +0000 Subject: re-enable depth texture gl test Ran in on Windows. It worked here. Not sure why it failed on bots a week ago. BUG=135229 TEST=it IS a test Review URL: https://chromiumcodereview.appspot.com/10748014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145916 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/command_buffer/tests/gl_depth_texture_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gpu/command_buffer') 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); } } -- cgit v1.1