| Index: src/gpu/vk/GrVkPipelineStateDataManager.h
|
| diff --git a/src/gpu/vk/GrVkPipelineStateDataManager.h b/src/gpu/vk/GrVkPipelineStateDataManager.h
|
| index b75d65c9cc55722b1cb7a65631050f195c8e8216..089d170f124f5c90e358c8d058137d88dc3e5a1a 100644
|
| --- a/src/gpu/vk/GrVkPipelineStateDataManager.h
|
| +++ b/src/gpu/vk/GrVkPipelineStateDataManager.h
|
| @@ -46,7 +46,10 @@ public:
|
| SkFAIL("Only supported in NVPR, which is not in vulkan");
|
| }
|
|
|
| - void uploadUniformBuffers(const GrVkGpu* gpu,
|
| + // Returns true if either the vertex or fragment buffer needed to generate a new underlying
|
| + // VkBuffer object in order upload data. If true is returned, this is a signal to the caller
|
| + // that they will need to update the descriptor set that is using these buffers.
|
| + bool uploadUniformBuffers(const GrVkGpu* gpu,
|
| GrVkUniformBuffer* vertexBuffer,
|
| GrVkUniformBuffer* fragmentBuffer) const;
|
| private:
|
|
|