From 992ecdd40ebc2e027b39f98a92bdab953eedd5d5 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 10 Jan 2019 11:51:39 -0800 Subject: turnip: preliminary support for tu_BindImageMemory2 --- src/freedreno/vulkan/tu_private.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/freedreno/vulkan/tu_private.h') diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index cce99181e26..4f593c9978f 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -956,6 +956,10 @@ struct tu_image /* For VK_ANDROID_native_buffer, the WSI image owns the memory, */ VkDeviceMemory owned_memory; + + /* Set when bound */ + const struct tu_bo *bo; + VkDeviceSize bo_offset; }; unsigned -- cgit v1.2.3