Change GrProgramInfo::visitProxies to "visitFPProxies"

We are removing dynamic state from the ProgramInfo, so the Ops will
need to invoke visits on their own primProc proxies.

Change-Id: I7ab227ab71208b7c7bcb7a9deb56b9abd556d6aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/277236
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrProgramInfo.h b/src/gpu/GrProgramInfo.h
index 6fde1a8..ec863f3 100644
--- a/src/gpu/GrProgramInfo.h
+++ b/src/gpu/GrProgramInfo.h
@@ -118,17 +118,9 @@
     // create the stencil settings here.
     GrStencilSettings nonGLStencilSettings() const;
 
-    void visitProxies(const GrOp::VisitProxyFunc& func) const {
-        if (this->hasFixedPrimProcTextures()) {
-            for (int i = 0; i < fPrimProc->numTextureSamplers(); ++i) {
-                GrSamplerState samplerState = fPrimProc->textureSampler(i).samplerState();
-
-                func(fFixedDynamicState->fPrimitiveProcessorTextures[i],
-                     GrMipMapped(samplerState == GrSamplerState::Filter::kMipMap));
-            }
-        }
-        fPipeline->visitProxies(func);
-    }
+    // Invokes the visitor function on all FP proxies in the pipeline. The caller is responsible
+    // to call the visitor on its own primProc proxies.
+    void visitFPProxies(const GrOp::VisitProxyFunc& func) const { fPipeline->visitProxies(func); }
 
 #ifdef SK_DEBUG
     void validate(bool flushTime) const;