Commit 371ed53a by Jamie Madill Committed by Commit Bot

Enable D3D11 warnings in Release end2end_tests.

Now that we have support for the Debug runtime on the Chromium bots, we can enable the feature in angle_end2end_tests that checks for any runtime messages after test execution. They should now show up in the Chromium CQ. BUG=angleproject:1878 Change-Id: Ie7502b031a49bcb6a68cf7e3f5e40760fa076ec1 Reviewed-on: https://chromium-review.googlesource.com/667724Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 9c6cfffe
......@@ -641,9 +641,9 @@ GLuint ANGLETestBase::compileShader(GLenum type, const std::string &source)
void ANGLETestBase::checkD3D11SDKLayersMessages()
{
#if defined(ANGLE_PLATFORM_WINDOWS) && !defined(NDEBUG)
// In debug D3D11 mode, check ID3D11InfoQueue to see if any D3D11 SDK Layers messages
// were outputted by the test
#if defined(ANGLE_PLATFORM_WINDOWS)
// On Windows D3D11, check ID3D11InfoQueue to see if any D3D11 SDK Layers messages
// were outputted by the test. We enable the Debug layers in Release tests as well.
if (mIgnoreD3D11SDKLayersWarnings ||
mEGLWindow->getPlatform().renderer != EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE ||
mEGLWindow->getDisplay() == EGL_NO_DISPLAY)
......@@ -715,7 +715,7 @@ void ANGLETestBase::checkD3D11SDKLayersMessages()
}
SafeRelease(infoQueue);
#endif
#endif // defined(ANGLE_PLATFORM_WINDOWS)
}
bool ANGLETestBase::extensionEnabled(const std::string &extName)
......
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