Update GrProgramInfo's constructor

Change-Id: I3a8ca6913ad64ac4fc29e63f7e26db128774c407
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/337118
Reviewed-by: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp b/src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp
index 8b6f1ef..70e028c 100644
--- a/src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp
+++ b/src/gpu/ops/GrSimpleMeshDrawOpHelper.cpp
@@ -199,12 +199,7 @@
                                                            GrXferBarrierFlags xferBarrierFlags,
                                                            GrLoadOp colorLoadOp,
                                                            const GrUserStencilSettings* stencilSettings) {
-    GrRenderTargetProxy* outputProxy = writeView.asRenderTargetProxy();
-
-    auto tmp = arena->make<GrProgramInfo>(outputProxy->numSamples(),
-                                          outputProxy->numStencilSamples(),
-                                          outputProxy->backendFormat(),
-                                          writeView.origin(),
+    auto tmp = arena->make<GrProgramInfo>(writeView,
                                           pipeline,
                                           stencilSettings,
                                           geometryProcessor,