diff options
Diffstat (limited to 'src/gpu/vk/GrVkPipelineStateBuilder.h')
-rw-r--r-- | src/gpu/vk/GrVkPipelineStateBuilder.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gpu/vk/GrVkPipelineStateBuilder.h b/src/gpu/vk/GrVkPipelineStateBuilder.h index ae59ec4e02..cf4a983119 100644 --- a/src/gpu/vk/GrVkPipelineStateBuilder.h +++ b/src/gpu/vk/GrVkPipelineStateBuilder.h @@ -28,8 +28,6 @@ public: * * The GrVkPipelineState implements what is specified in the GrPipeline and GrPrimitiveProcessor * as input. After successful generation, the builder result objects are available to be used. - * This function may modify the program key by setting the surface origin key to 0 (unspecified) - * if it turns out the program does not care about the surface origin. * @return true if generation was successful. */ static GrVkPipelineState* CreatePipelineState(GrVkGpu*, @@ -37,7 +35,7 @@ public: const GrStencilSettings&, const GrPrimitiveProcessor&, GrPrimitiveType, - GrVkPipelineState::Desc*, + const GrVkPipelineState::Desc&, const GrVkRenderPass& renderPass); const GrCaps* caps() const override; @@ -51,19 +49,18 @@ private: GrVkPipelineStateBuilder(GrVkGpu*, const GrPipeline&, const GrPrimitiveProcessor&, - GrProgramDesc*); + const GrProgramDesc&); GrVkPipelineState* finalize(const GrStencilSettings&, GrPrimitiveType primitiveType, const GrVkRenderPass& renderPass, - GrVkPipelineState::Desc*); + const GrVkPipelineState::Desc&); bool createVkShaderModule(VkShaderStageFlagBits stage, const GrGLSLShaderBuilder& builder, VkShaderModule* shaderModule, VkPipelineShaderStageCreateInfo* stageInfo, - const SkSL::Program::Settings& settings, - GrVkPipelineState::Desc* desc); + const SkSL::Program::Settings& settings); GrGLSLUniformHandler* uniformHandler() override { return &fUniformHandler; } const GrGLSLUniformHandler* uniformHandler() const override { return &fUniformHandler; } |