summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-01-25 13:53:00 -0800
committerJason Ekstrand <[email protected]>2017-01-25 19:18:33 -0800
commitb2de77a07dc8d506ff07efd9f93244c3787156bb (patch)
tree34189ce3ea59c682306afe190802840fc230dad2
parentc5d99c9983f2fcc70757df224ff8dd8fee9a5215 (diff)
anv: Revive struct anv_common
The struct was deleted by: commit efe9d1cde3340d3a9d17e5560b609a4fb839d43d Author: Edward O'Callaghan <[email protected]> Subject: anv: Clean up some unused variables Unlike the original anv_common, the new one has a non-const pNext pointer because we will use it for the output structs of VK_KHR_get_physical_device_properties2. v2: - Retype pNext from void* to struct anv_common*. Reviewed-by: Jason Ekstranad <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r--src/intel/vulkan/anv_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index de50dff1a84..12ee79d3d89 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1831,6 +1831,11 @@ void anv_dump_finish(void);
void anv_dump_add_framebuffer(struct anv_cmd_buffer *cmd_buffer,
struct anv_framebuffer *fb);
+struct anv_common {
+ VkStructureType sType;
+ struct anv_common *pNext;
+};
+
#define ANV_DEFINE_HANDLE_CASTS(__anv_type, __VkType) \
\
static inline struct __anv_type * \