Commit 4b4197af by Olli Etuaho Committed by Commit Bot

Ignore D3D11 debug layer messages in multiview tests

This is better than skipping the tests entirely. The debug layer messages appear incorrect and may be specific to Windows 7 and Windows Server 2008. BUG=angleproject:2778 TEST=angle_end2end_tests on Windows Server 2008 Change-Id: Ief81fbe22f518c393a37a0969c8987ed9500fbed Reviewed-on: https://chromium-review.googlesource.com/1184918Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
parent 121d6c31
...@@ -1079,7 +1079,10 @@ TEST_P(MultiviewRenderTest, AttribDivisor) ...@@ -1079,7 +1079,10 @@ TEST_P(MultiviewRenderTest, AttribDivisor)
// Looks like an incorrect D3D debug layer message is generated on Windows AMD and NVIDIA. // Looks like an incorrect D3D debug layer message is generated on Windows AMD and NVIDIA.
// May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778 // May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778
ANGLE_SKIP_TEST_IF(IsWindows() && IsD3D11() && (IsAMD() || IsNVIDIA())); if (IsWindows() && IsD3D11())
{
ignoreD3D11SDKLayersWarnings();
}
const std::string &vsSource = const std::string &vsSource =
"#version 300 es\n" "#version 300 es\n"
...@@ -1839,7 +1842,10 @@ TEST_P(MultiviewRenderTest, ProgramRelinkUpdatesAttribDivisor) ...@@ -1839,7 +1842,10 @@ TEST_P(MultiviewRenderTest, ProgramRelinkUpdatesAttribDivisor)
// Looks like an incorrect D3D debug layer message is generated on Windows AMD and NVIDIA. // Looks like an incorrect D3D debug layer message is generated on Windows AMD and NVIDIA.
// May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778 // May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778
ANGLE_SKIP_TEST_IF(IsWindows() && IsD3D11() && (IsAMD() || IsNVIDIA())); if (IsWindows() && IsD3D11())
{
ignoreD3D11SDKLayersWarnings();
}
const int kViewWidth = 4; const int kViewWidth = 4;
const int kViewHeight = 1; const int kViewHeight = 1;
...@@ -1979,7 +1985,10 @@ TEST_P(MultiviewRenderTest, DivisorUpdatedOnProgramChange) ...@@ -1979,7 +1985,10 @@ TEST_P(MultiviewRenderTest, DivisorUpdatedOnProgramChange)
// Looks like an incorrect D3D debug layer message is generated on Windows / AMD. // Looks like an incorrect D3D debug layer message is generated on Windows / AMD.
// May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778 // May be specific to Windows 7 / Windows Server 2008. http://anglebug.com/2778
ANGLE_SKIP_TEST_IF(IsWindows() && IsD3D11() && IsAMD()); if (IsWindows() && IsD3D11())
{
ignoreD3D11SDKLayersWarnings();
}
GLVertexArray vao; GLVertexArray vao;
glBindVertexArray(vao); glBindVertexArray(vao);
......
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