summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-01-10 11:51:39 -0800
committerChia-I Wu <[email protected]>2019-03-11 10:01:41 -0700
commit992ecdd40ebc2e027b39f98a92bdab953eedd5d5 (patch)
tree04b06ffd6f4af78ab2b55d59d3bd52f397f74f36 /src/freedreno/vulkan/tu_private.h
parentef49b07b83dc527dfdeb7ac9252c853cb67b086b (diff)
turnip: preliminary support for tu_BindImageMemory2
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h4
1 files changed, 4 insertions, 0 deletions
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