vulkan/vk_extensions_gen: Stop including vk_object.h

All we need from it is vulkan_common.h for VkExtensionProperties.

Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13156>
This commit is contained in:
Jason Ekstrand
2021-10-01 17:07:56 -05:00
committed by Marge Bot
parent 741262ee01
commit 837a142f2d
+2 -3
View File
@@ -93,9 +93,8 @@ ${driver}_physical_device_get_supported_extensions(const struct ${driver}_physic
""")
_TEMPLATE_C = Template(COPYRIGHT + """
%if driver == 'vk':
#include "vk_object.h"
%else:
#include "vulkan/vulkan_core.h"
%if driver != 'vk':
#include "${driver}_private.h"
%endif