Disable tessellation on Qualcomm

TBR=bsalomon@google.com

Bug: skia:9740
Change-Id: Ia6b701d83e1ca20697f45e32b013ae95a5897ac3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/261698
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
index 0fb915d..dda21cc 100644
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
@@ -443,9 +443,9 @@
     // much point in doing so.
     if (!cached && !primProc.isPathRendering() && !primProc.willUseTessellationShaders() &&
         !precompiledProgram) {
-        static_assert(&GrPrimitiveProcessor::getTessControlShaderGLSL,
-                      "FIXME: Remove the check for tessellation shaders in the above 'if' once the "
-                      "back door GLSL mechanism is removed.");
+        // FIXME: Remove the check for tessellation shaders in the above 'if' once the back door
+        // GLSL mechanism is removed.
+        (void)&GrPrimitiveProcessor::getTessControlShaderGLSL;
         bool isSkSL = false;
         if (fGpu->getContext()->priv().options().fShaderCacheStrategy ==
                 GrContextOptions::ShaderCacheStrategy::kSkSL) {