Add a "conservative raster" flag to GrPipeline

Change-Id: I20c9223e06cd48568f26fde19e2d768f044a00cf
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/260312
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
diff --git a/src/gpu/GrOpsRenderPass.cpp b/src/gpu/GrOpsRenderPass.cpp
index 1b8ebea..85ae57d 100644
--- a/src/gpu/GrOpsRenderPass.cpp
+++ b/src/gpu/GrOpsRenderPass.cpp
@@ -44,6 +44,8 @@
 #ifdef SK_DEBUG
     SkASSERT(!programInfo.primProc().hasInstanceAttributes() ||
              this->gpu()->caps()->instanceAttribSupport());
+    SkASSERT(!programInfo.pipeline().usesConservativeRaster() ||
+             this->gpu()->caps()->conservativeRasterSupport());
 
     programInfo.compatibleWithMeshes(meshes, meshCount);
     programInfo.checkAllInstantiated();