Commit bd4cfdcd by Geoff Lang

Skip LUMA format tests on OpenGL.

These formats are depricated in the core profile and not supported yet. BUG=angleproject:884 Change-Id: Ic5cf75196ed73cc6bd660fc437f96fdcea5de1b4 Reviewed-on: https://chromium-review.googlesource.com/275771Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 3d0d9a48
...@@ -105,6 +105,14 @@ class UnpackAlignmentTest : public ANGLETest ...@@ -105,6 +105,14 @@ class UnpackAlignmentTest : public ANGLETest
void testAlignment(int alignment, unsigned int offset, GLenum format, GLenum type) void testAlignment(int alignment, unsigned int offset, GLenum format, GLenum type)
{ {
// TODO(geofflang): Support LUMA formats in the core profile.
if (getPlatformRenderer() == EGL_PLATFORM_ANGLE_TYPE_OPENGL_ANGLE &&
(format == GL_LUMINANCE_ALPHA || format == GL_LUMINANCE || format == GL_ALPHA))
{
std::cout << "Test skipped on OpenGL with LUMA formats." << std::endl;
return;
}
static const unsigned int width = 7; static const unsigned int width = 7;
static const unsigned int height = 2; static const unsigned int height = 2;
......
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