aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2019-01-15 22:54:15 +0100
committerChia-I Wu <[email protected]>2019-03-11 10:02:13 -0700
commit72384715873f3b7d5a4403e2381d8fbd896c891c (patch)
tree36bfe7ec6aa29dfdabc08896f782a76c5f7e4211 /src/freedreno/vulkan/tu_private.h
parent08b1c3fc7f1c5ea5b5bee1eccb635b855c4f383b (diff)
turnip: Add buffer memory binding.
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index 9b179f666cf..c64d4ce4957 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -632,6 +632,9 @@ struct tu_buffer
VkBufferUsageFlags usage;
VkBufferCreateFlags flags;
+
+ struct tu_bo *bo;
+ VkDeviceSize bo_offset;
};
enum tu_dynamic_state_bits