Commit 8e1936c7 by Jamie Madill

Skip BlitStencil test on Intel D3D9.

We seem to fail this config. It could be driver bug or other problem in ANGLE. Disable the test until we can find an answer. BUG=angle:809 Change-Id: I90d773d2047569d71fa8a25c8919a8e46b5676b1 Reviewed-on: https://chromium-review.googlesource.com/232980Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent dae55f64
......@@ -303,6 +303,8 @@ protected:
GLuint mBGRAMultisampledRenderbuffer;
GLuint mBGRAMultisampledFBO;
T mFixtureType;
};
// Draw to user-created framebuffer, blit whole-buffer color to original framebuffer.
......@@ -691,6 +693,15 @@ TYPED_TEST(BlitFramebufferANGLETest, BlitWithMissingAttachments)
TYPED_TEST(BlitFramebufferANGLETest, BlitStencil)
{
// 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)
{
return;
}
glBindFramebuffer(GL_FRAMEBUFFER, mUserFBO);
glClear(GL_COLOR_BUFFER_BIT);
......
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