From 818b8579145196c7a8d4095bd5e65367e02a8fef Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 13 Mar 2017 17:20:15 -0700 Subject: anv: Use the BO cache for DeviceMemory allocations Reviewed-by: Chad Versace --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_image.c') diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index cf34dbe3b0a..4874f2f3d38 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -341,7 +341,7 @@ VkResult anv_BindImageMemory( return VK_SUCCESS; } - image->bo = &mem->bo; + image->bo = mem->bo; image->offset = memoryOffset; if (image->aux_surface.isl.size > 0) { -- cgit v1.2.3