Fail any ANGLE test if it outputs D3D11 SDK message in debug mode
Also:
- Disable some Feature Level 9_3 tests that trigger SDK messages
- Fix a debug object name issue. If you try to assign a debug name
to an object twice then you get an SDK warning message. This can
occur if you 'create' two objects (e.g. Rasterizer States) with
identical DESCs on the same device, since D3D11 can optimize
this and return the same object both times.
- Disable the message checks in Line Loops tests, since the tests
trigger incorrect D3D11 SDK messages on Win7 machines
BUG=angleproject:667;angleproject:1282
Change-Id: I7284fb3a11377afde24e0014e21dbcea80ebb126
Reviewed-on: https://chromium-review.googlesource.com/321393
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tryjob-Request: Austin Kinross <aukinros@microsoft.com>
Tested-by: Austin Kinross <aukinros@microsoft.com>
diff --git a/src/tests/gl_tests/TextureTest.cpp b/src/tests/gl_tests/TextureTest.cpp
index f3d5c5a..0b31337 100644
--- a/src/tests/gl_tests/TextureTest.cpp
+++ b/src/tests/gl_tests/TextureTest.cpp
@@ -1086,6 +1086,13 @@
TEST_P(Texture2DTest, CopySubImageFloat_RGB_RGB)
{
+ // TODO (bug 1284): Investigate RGBA32f D3D SDK Layers messages on D3D11_FL9_3
+ if (isD3D11_FL93())
+ {
+ std::cout << "Test skipped on Feature Level 9_3." << std::endl;
+ return;
+ }
+
testFloatCopySubImage(3, 3);
}
@@ -1101,11 +1108,25 @@
TEST_P(Texture2DTest, CopySubImageFloat_RGBA_RGB)
{
+ // TODO (bug 1284): Investigate RGBA32f D3D SDK Layers messages on D3D11_FL9_3
+ if (isD3D11_FL93())
+ {
+ std::cout << "Test skipped on Feature Level 9_3." << std::endl;
+ return;
+ }
+
testFloatCopySubImage(4, 3);
}
TEST_P(Texture2DTest, CopySubImageFloat_RGBA_RGBA)
{
+ // TODO (bug 1284): Investigate RGBA32f D3D SDK Layers messages on D3D11_FL9_3
+ if (isD3D11_FL93())
+ {
+ std::cout << "Test skipped on Feature Level 9_3." << std::endl;
+ return;
+ }
+
testFloatCopySubImage(4, 4);
}