diff options
author | jvanverth <jvanverth@google.com> | 2016-09-20 09:20:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-20 09:20:03 -0700 |
commit | 9d54afc38b171c01a03b34e773d154fcf83d97dc (patch) | |
tree | c618bac30c9ced452300c5835993fad6bb41fb36 /tools/viewer/sk_app | |
parent | a624bf3d1cb454c1959c5bbbf23a3afdfa3481f3 (diff) |
Support use of non-coherent memory allocations in Vulkan.
BUG=skia:5034
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2348523002
Review-Url: https://codereview.chromium.org/2348523002
Diffstat (limited to 'tools/viewer/sk_app')
-rw-r--r-- | tools/viewer/sk_app/VulkanWindowContext.cpp | 2 |
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; |