Disable all copy image tests on Intel.
Change-Id: I5412daf42777caeac37de4bdc661b01480d887fd
Reviewed-on: https://chromium-review.googlesource.com/264451
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/tests/end2end_tests/TextureTest.cpp b/src/tests/end2end_tests/TextureTest.cpp
index 398dcd6..7ede186 100644
--- a/src/tests/end2end_tests/TextureTest.cpp
+++ b/src/tests/end2end_tests/TextureTest.cpp
@@ -106,6 +106,13 @@
// Tests CopyTexSubImage with floating point textures of various formats.
void testFloatCopySubImage(int sourceImageChannels, int destImageChannels)
{
+ // TODO(jmadill): Figure out why this is broken on Intel D3D11
+ if (isIntel() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE)
+ {
+ std::cout << "Test skipped on Intel D3D11." << std::endl;
+ return;
+ }
+
if (getClientVersion() < 3)
{
if (!extensionEnabled("GL_OES_texture_float"))
@@ -490,13 +497,6 @@
TYPED_TEST(TextureTest, CopySubImageFloat_RGB_RGB)
{
- // TODO(jmadill): Figure out why this is broken on Intel D3D11
- if (isIntel() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE)
- {
- std::cout << "Test skipped on Intel D3D11." << std::endl;
- return;
- }
-
testFloatCopySubImage(3, 3);
}
@@ -512,25 +512,11 @@
TYPED_TEST(TextureTest, CopySubImageFloat_RGBA_RGB)
{
- // TODO(jmadill): Figure out why this is broken on Intel D3D11
- if (isIntel() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE)
- {
- std::cout << "Test skipped on Intel D3D11." << std::endl;
- return;
- }
-
testFloatCopySubImage(4, 3);
}
TYPED_TEST(TextureTest, CopySubImageFloat_RGBA_RGBA)
{
- // TODO(jmadill): Figure out why this is broken on Intel D3D11
- if (isIntel() && getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_D3D11_ANGLE)
- {
- std::cout << "Test skipped on Intel D3D11." << std::endl;
- return;
- }
-
testFloatCopySubImage(4, 4);
}