Disable baseInstance on ANGLE D3D

Bug: angleproject:4536
Change-Id: I8cc4d01f52aa3e4539e365b249053207496c5d5a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/280983
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 8439a57..a0f7957 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -3541,6 +3541,12 @@
         fDrawArraysBaseVertexIsBroken = true;
     }
 
+    // http://anglebug.com/4536
+    if (ctxInfo.driver() == kANGLE_GrGLDriver &&
+        ctxInfo.angleBackend() != GrGLANGLEBackend::kOpenGL) {
+        fBaseInstanceSupport = false;
+    }
+
     // Currently the extension is advertised but fb fetch is broken on 500 series Adrenos like the
     // Galaxy S7.
     // TODO: Once this is fixed we can update the check here to look at a driver version number too.