diff options
author | 2016-11-29 11:59:17 -0500 | |
---|---|---|
committer | 2016-11-29 17:42:53 +0000 | |
commit | f9f451213a3951d8a61568998de2ddbd643f6693 (patch) | |
tree | ba11ab458cbe8c654337bc704c52f4ca73f6b44a /src/gpu/vk/GrVkPipelineState.cpp | |
parent | e18c97b73a0392b2eee57a111122dd5b637e36e6 (diff) |
Reland image storage with fixes.
Revert "Revert "Initial OpenGL Image support.""
This reverts commit 59dc41175d99d0a31c046aec0c26c4d82a3a3574.
BUG=skia:
Change-Id: Ibe3c87ce7f746f065fdbcc5a518388cc291112f5
Reviewed-on: https://skia-review.googlesource.com/5131
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/vk/GrVkPipelineState.cpp')
-rw-r--r-- | src/gpu/vk/GrVkPipelineState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/vk/GrVkPipelineState.cpp b/src/gpu/vk/GrVkPipelineState.cpp index 2d53cd8c8d..75b8baaa4f 100644 --- a/src/gpu/vk/GrVkPipelineState.cpp +++ b/src/gpu/vk/GrVkPipelineState.cpp @@ -174,6 +174,8 @@ void GrVkPipelineState::abandonGPUResources() { static void append_texture_bindings(const GrProcessor& processor, SkTArray<const GrProcessor::TextureSampler*>* textureBindings) { + // We don't support image storages in VK. + SkASSERT(!processor.numImageStorages()); if (int numTextureSamplers = processor.numTextureSamplers()) { const GrProcessor::TextureSampler** bindings = textureBindings->push_back_n(numTextureSamplers); |