Mesa (master): anv: Revive struct anv_common
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Thu Jan 26 03:49:31 UTC 2017
Module: Mesa
Branch: master
Commit: b2de77a07dc8d506ff07efd9f93244c3787156bb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b2de77a07dc8d506ff07efd9f93244c3787156bb
Author: Chad Versace <chadversary at chromium.org>
Date: Wed Jan 25 13:53:00 2017 -0800
anv: Revive struct anv_common
The struct was deleted by:
commit efe9d1cde3340d3a9d17e5560b609a4fb839d43d
Author: Edward O'Callaghan <funfunctor at folklore1984.net>
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 <jason at jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/vulkan/anv_private.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index de50dff..12ee79d 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 * \
More information about the mesa-commit
mailing list