aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/viewer/sk_app
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2016-09-20 09:20:03 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-20 09:20:03 -0700
commit9d54afc38b171c01a03b34e773d154fcf83d97dc (patch)
treec618bac30c9ced452300c5835993fad6bb41fb36 /tools/viewer/sk_app
parenta624bf3d1cb454c1959c5bbbf23a3afdfa3481f3 (diff)
Support use of non-coherent memory allocations in Vulkan.
Diffstat (limited to 'tools/viewer/sk_app')
-rw-r--r--tools/viewer/sk_app/VulkanWindowContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/viewer/sk_app/VulkanWindowContext.cpp
index 589a7b8c1c..8d7dceeb8c 100644
--- a/tools/viewer/sk_app/VulkanWindowContext.cpp
+++ b/tools/viewer/sk_app/VulkanWindowContext.cpp
@@ -262,7 +262,7 @@ void VulkanWindowContext::createBuffers(VkFormat format) {
GrBackendRenderTargetDesc desc;
GrVkImageInfo info;
info.fImage = fImages[i];
- info.fAlloc = { VK_NULL_HANDLE, 0, 0 };
+ info.fAlloc = { VK_NULL_HANDLE, 0, 0, 0 };
info.fImageLayout = VK_IMAGE_LAYOUT_UNDEFINED;
info.fImageTiling = VK_IMAGE_TILING_OPTIMAL;
info.fFormat = format;