summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-22 10:58:34 -0700
committerJason Ekstrand <[email protected]>2015-09-24 08:42:38 -0700
commitbc17f9c9d76dbf2cdc657cfb6861b887dbca3046 (patch)
tree6037b9e66eaeb10f1d875a7c688ac2fb7fc3d56e /src/vulkan/anv_private.h
parente1a7c721d34158f94f6b6dee94a211d32e9f5752 (diff)
anv/cmd_buffer: Add a helper for getting the surface state base address
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h
index fa910064945..2e8bfa2c1d6 100644
--- a/src/vulkan/anv_private.h
+++ b/src/vulkan/anv_private.h
@@ -897,6 +897,8 @@ struct anv_bo *
anv_cmd_buffer_current_surface_bo(struct anv_cmd_buffer *cmd_buffer);
struct anv_reloc_list *
anv_cmd_buffer_current_surface_relocs(struct anv_cmd_buffer *cmd_buffer);
+struct anv_address
+anv_cmd_buffer_surface_base_address(struct anv_cmd_buffer *cmd_buffer);
struct anv_state
anv_cmd_buffer_alloc_surface_state(struct anv_cmd_buffer *cmd_buffer,
uint32_t size, uint32_t alignment);