Restore support for multisample locations
Bug: skia:
Change-Id: I971455867e54d431cc1094fca041f773f78748ee
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/196218
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/mtl/GrMtlPipelineStateBuilder.mm b/src/gpu/mtl/GrMtlPipelineStateBuilder.mm
index c7945b2..2718b91 100644
--- a/src/gpu/mtl/GrMtlPipelineStateBuilder.mm
+++ b/src/gpu/mtl/GrMtlPipelineStateBuilder.mm
@@ -411,7 +411,7 @@
const GrPipeline& pipeline,
GrPrimitiveType primitiveType,
GrMtlGpu* gpu) {
- if (!INHERITED::Build(desc, renderTarget->config(), primProc,
+ if (!INHERITED::Build(desc, renderTarget, primProc,
GrPrimitiveType::kLines == primitiveType, pipeline, gpu)) {
return false;
}