Add GrPrimitiveType to GrProgramInfo
This further consolidates the information required to compute the program key (esp. for Vulkan). This CL mainly comprises the plumbing portion - a follow up CL will actually use it.
Bug: skia:9455
Change-Id: Iaac716c289916981a1757a333bfa57b3051fd35b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252161
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ccpr/GrGSCoverageProcessor.cpp b/src/gpu/ccpr/GrGSCoverageProcessor.cpp
index 1398d5b..7a4a5b1 100644
--- a/src/gpu/ccpr/GrGSCoverageProcessor.cpp
+++ b/src/gpu/ccpr/GrGSCoverageProcessor.cpp
@@ -446,8 +446,7 @@
// and does edge AA. The second pass does touch up on corner pixels.
for (int i = 0; i < 2; ++i) {
fSubpass = (Subpass) i;
- this->GrCCCoverageProcessor::draw(
- flushState, pipeline, scissorRects, meshes, meshCount, drawBounds);
+ INHERITED::draw(flushState, pipeline, scissorRects, meshes, meshCount, drawBounds);
}
}