Support multisample arrays as framebuffer attachments

This contains tests for framebuffer completeness when layers of
multisample array textures are attached.

Simple clearing of a layer of a multisample color texture array and
blitting the result to a non-multisampled texture is also covered.

BUG=angleproject:2775
TEST=angle_end2end_tests

Change-Id: Idf383cab69587dbd8157ab9a2b7c47e5a90b3cf7
Reviewed-on: https://chromium-review.googlesource.com/1190184
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
diff --git a/src/libANGLE/renderer/gl/FramebufferGL.cpp b/src/libANGLE/renderer/gl/FramebufferGL.cpp
index 2a253dd..2ea861e 100644
--- a/src/libANGLE/renderer/gl/FramebufferGL.cpp
+++ b/src/libANGLE/renderer/gl/FramebufferGL.cpp
@@ -72,7 +72,8 @@
                                                 textureGL->getTextureID(), attachment->mipLevel());
             }
             else if (texture->getType() == TextureType::_2DArray ||
-                     texture->getType() == TextureType::_3D)
+                     texture->getType() == TextureType::_3D ||
+                     texture->getType() == TextureType::_2DMultisampleArray)
             {
                 if (attachment->getMultiviewLayout() == GL_FRAMEBUFFER_MULTIVIEW_LAYERED_ANGLE)
                 {