summaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index 21237fd14e7..35c51ac2c84 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -442,12 +442,14 @@ struct tu_device
struct tu_device_memory
{
+ struct fd_bo *bo;
+ VkDeviceSize size;
/* for dedicated allocations */
struct tu_image *image;
struct tu_buffer *buffer;
+
uint32_t type_index;
- VkDeviceSize map_size;
void *map;
void *user_ptr;
};