diff options
author | 2017-04-17 12:47:15 -0400 | |
---|---|---|
committer | 2017-04-17 17:25:32 +0000 | |
commit | cd11c809f206af0da3ce1779dee3c91193baa7b0 (patch) | |
tree | bb012cbe517e6e83b4d9d5ad685957e63d53f8cc /src/gpu/vk/GrVkPipelineState.cpp | |
parent | b3821730e1ddd86b356fbf3247d115950c269240 (diff) |
Split cleanup changes out of bigger CL
This are split out of: https://skia-review.googlesource.com/c/11581/ (Split up opLists)
TBR=bsalomon@google.com
Change-Id: I1239e806a30a93d3c17ad933f118b98a5077dd3a
Reviewed-on: https://skia-review.googlesource.com/13585
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/vk/GrVkPipelineState.cpp')
-rw-r--r-- | src/gpu/vk/GrVkPipelineState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp index 4ce7681b15..0a9d68eb38 100644 --- a/src/gpu/vk/GrVkPipelineState.cpp +++ b/src/gpu/vk/GrVkPipelineState.cpp @@ -220,6 +220,7 @@ void GrVkPipelineState::setData(GrVkGpu* gpu, fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset); GrResourceIOProcessor::TextureSampler dstTextureSampler; if (dstTexture) { + // MDB TODO: this is the last usage of a GrTexture-based TextureSampler reset method dstTextureSampler.reset(dstTexture); textureBindings.push_back(&dstTextureSampler); } |