commit | be7fc466271b225d4f286856eb14a1cadb103d0a | [log] [tgz] |
---|---|---|
author | Greg Daniel <egdaniel@google.com> | Thu Jan 03 16:40:42 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Jan 04 14:08:25 2019 +0000 |
tree | 5fd91c08d5787d824d1a6ea9bde42ff1cd2d6188 | |
parent | 5f1692c60a43bfb9f9039e288862c82a9f7cbc8e [diff] [blame] |
Restrict ops that can be executed when we have a wrapped vulkan secondary command buffer. Bug: skia: Change-Id: Ib58ba23053d019988a23cfb489808bad3122d867 Reviewed-on: https://skia-review.googlesource.com/c/178936 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp index 9a54dfe..16db3b3 100644 --- a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp +++ b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp
@@ -35,6 +35,7 @@ GrPathRenderer::CanDrawPath GrStencilAndCoverPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) const { + SkASSERT(!args.fTargetIsWrappedVkSecondaryCB); // GrPath doesn't support hairline paths. An arbitrary path effect could produce a hairline // path. if (args.fShape->style().strokeRec().isHairlineStyle() ||