summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-13 17:20:15 -0700
committerJason Ekstrand <[email protected]>2017-04-27 20:08:46 -0700
commit818b8579145196c7a8d4095bd5e65367e02a8fef (patch)
tree9392d3ef4b103adc00a1c69f68349453d2ce9947 /src/intel/vulkan/anv_image.c
parent494d6f65a7c5138bd3bda062afd6a1c4adadc1e8 (diff)
anv: Use the BO cache for DeviceMemory allocations
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_image.c')
-rw-r--r--src/intel/vulkan/anv_image.c2
1 files changed, 1 insertions, 1 deletions
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) {