Create a formatutilsD3D and move some functions from formatutils.

BUG=angle:681

Change-Id: I694073c50dccd05c3117761e446eba0d15c03293
Reviewed-on: https://chromium-review.googlesource.com/238480
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Tested-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/validationES2.cpp b/src/libANGLE/validationES2.cpp
index 0ca248e..e5c3da5 100644
--- a/src/libANGLE/validationES2.cpp
+++ b/src/libANGLE/validationES2.cpp
@@ -94,7 +94,7 @@
     {
         if (format != GL_NONE)
         {
-            if (gl::GetFormatTypeInfo(format, type).internalFormat != texture->getInternalFormat(target, level))
+            if (gl::GetSizedInternalFormat(format, type) != texture->getInternalFormat(target, level))
             {
                 context->recordError(Error(GL_INVALID_OPERATION));
                 return false;