From 9d54afc38b171c01a03b34e773d154fcf83d97dc Mon Sep 17 00:00:00 2001 From: jvanverth Date: Tue, 20 Sep 2016 09:20:03 -0700 Subject: 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 --- tools/viewer/sk_app/VulkanWindowContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/viewer/sk_app') 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; -- cgit v1.2.3