Index: src/gpu/vk/GrVkGpu.h |
diff --git a/src/gpu/vk/GrVkGpu.h b/src/gpu/vk/GrVkGpu.h |
index 0e94b11a1f1714802647ca8930dbf3d9b829b90d..f9984d7ea8f70d973dd02d371c7c77299d7bea35 100644 |
--- a/src/gpu/vk/GrVkGpu.h |
+++ b/src/gpu/vk/GrVkGpu.h |
@@ -160,11 +160,10 @@ private: |
void onResolveRenderTarget(GrRenderTarget* target) override {} |
- bool prepareDrawState(const GrPipeline&, |
- const GrPrimitiveProcessor&, |
- GrPrimitiveType, |
- const GrVkRenderPass&, |
- GrVkPipelineState** pipelineState); |
+ sk_sp<GrVkPipelineState> prepareDrawState(const GrPipeline&, |
+ const GrPrimitiveProcessor&, |
+ GrPrimitiveType, |
+ const GrVkRenderPass&); |
// Bind vertex and index buffers |
void bindGeometry(const GrPrimitiveProcessor&, const GrNonInstancedMesh&); |