Index: src/gpu/vk/GrVkPipeline.cpp |
diff --git a/src/gpu/vk/GrVkPipeline.cpp b/src/gpu/vk/GrVkPipeline.cpp |
index 910398183b1911f54cc2410ef347de500afe13ac..40a6cf07a9faa5650d306c6d726abb49b4d08842 100644 |
--- a/src/gpu/vk/GrVkPipeline.cpp |
+++ b/src/gpu/vk/GrVkPipeline.cpp |
@@ -397,6 +397,7 @@ static void setup_dynamic_state(VkPipelineDynamicStateCreateInfo* dynamicInfo, |
} |
GrVkPipeline* GrVkPipeline::Create(GrVkGpu* gpu, const GrPipeline& pipeline, |
+ const GrStencilSettings& stencil, |
const GrPrimitiveProcessor& primProc, |
VkPipelineShaderStageCreateInfo* shaderStageInfo, |
int shaderStageCount, |
@@ -415,7 +416,7 @@ GrVkPipeline* GrVkPipeline::Create(GrVkGpu* gpu, const GrPipeline& pipeline, |
setup_input_assembly_state(primitiveType, &inputAssemblyInfo); |
VkPipelineDepthStencilStateCreateInfo depthStencilInfo; |
- setup_depth_stencil_state(pipeline.getStencil(), &depthStencilInfo); |
+ setup_depth_stencil_state(stencil, &depthStencilInfo); |
VkPipelineViewportStateCreateInfo viewportInfo; |
setup_viewport_scissor_state(&viewportInfo); |