Index: src/gpu/vk/GrVkPipelineState.cpp |
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp |
index 71ce831d65e31146fc64993af361180aeebb5a0a..abb95f644fd4f9c01b0d24bd29182109301e63b7 100644 |
--- a/src/gpu/vk/GrVkPipelineState.cpp |
+++ b/src/gpu/vk/GrVkPipelineState.cpp |
@@ -492,6 +492,7 @@ uint32_t get_blend_info_key(const GrPipeline& pipeline) { |
bool GrVkPipelineState::Desc::Build(Desc* desc, |
const GrPrimitiveProcessor& primProc, |
const GrPipeline& pipeline, |
+ const GrStencilSettings& stencil, |
GrPrimitiveType primitiveType, |
const GrGLSLCaps& caps) { |
if (!INHERITED::Build(desc, primProc, primitiveType == kPoints_GrPrimitiveType, pipeline, |
@@ -503,7 +504,7 @@ bool GrVkPipelineState::Desc::Build(Desc* desc, |
GrVkRenderTarget* vkRT = (GrVkRenderTarget*)pipeline.getRenderTarget(); |
vkRT->simpleRenderPass()->genKey(&b); |
- pipeline.getStencil().genKey(&b); |
+ stencil.genKey(&b); |
SkASSERT(sizeof(GrDrawFace) <= sizeof(uint32_t)); |
b.add32((int32_t)pipeline.getDrawFace()); |