Skip failing Texture tests on Intel D3D11.
There are currently some failures on the Chromium GPU FYI bots. The
failing machine is using an Intel HD 3000, and the group of failing
tests are the TextureTest.CopySubImageFloat_* group. I'm unable
to repro these failures, but disable the tests until we can fix them.
Also clean up our method of determining Renderer properties in
ANGLETest.
BUG=angle:850
Change-Id: I444b9d3497ea635fbd8957ac243b16c822c19d06
Reviewed-on: https://chromium-review.googlesource.com/244781
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Nicolas Capens <capn@chromium.org>
diff --git a/tests/angle_tests/BlitFramebufferANGLETest.cpp b/tests/angle_tests/BlitFramebufferANGLETest.cpp
index 9519b46..a4cec71 100644
--- a/tests/angle_tests/BlitFramebufferANGLETest.cpp
+++ b/tests/angle_tests/BlitFramebufferANGLETest.cpp
@@ -303,8 +303,6 @@
GLuint mBGRAMultisampledRenderbuffer;
GLuint mBGRAMultisampledFBO;
-
- T mFixtureType;
};
// Draw to user-created framebuffer, blit whole-buffer color to original framebuffer.
@@ -695,10 +693,9 @@
{
// TODO(jmadill): Figure out if we can fix this on D3D9.
// https://code.google.com/p/angleproject/issues/detail?id=809
- std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER)));
- if (rendererString.find("Intel") != std::string::npos &&
- mFixtureType.GetPlatform().renderer == EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE)
+ if (isIntel() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_D3D9_ANGLE)
{
+ std::cout << "Test skipped on Intel D3D9." << std::endl;
return;
}