From 7519cfc098b9843c6883cb46bfd29ddc03249e4b Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Wed, 18 Nov 2015 14:57:08 -0700 Subject: WSI: Eliminate a lot of references to WSI header files. Conflicts: include/vulkan/vk_layer.h loader/loader.h --- include/vulkan/vk_layer.h | 2 -- loader/loader.h | 2 +- vk_helper.py | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index ea137152..80fd943f 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -7,8 +7,6 @@ #include "vulkan/vulkan.h" #include "vulkan/vk_lunarg_debug_report.h" #include "vulkan/vk_lunarg_debug_marker.h" -#include "vulkan/vk_ext_khr_swapchain.h" -#include "vulkan/vk_ext_khr_device_swapchain.h" #if defined(__GNUC__) && __GNUC__ >= 4 # define VK_LAYER_EXPORT __attribute__((visibility("default"))) #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590) diff --git a/loader/loader.h b/loader/loader.h index 60e7d131..28878065 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -36,7 +36,7 @@ #include #include -#include + #include #include #include diff --git a/vk_helper.py b/vk_helper.py index e82766e2..5fc067fd 100755 --- a/vk_helper.py +++ b/vk_helper.py @@ -1301,7 +1301,7 @@ class StructWrapperGen: sh_funcs.append('%s}' % (indent)) sh_funcs.append("%sreturn structSize;\n}" % (indent)) # Now generate generic functions to loop over entire struct chain (or just handle single generic structs) - if 'khr' not in self.header_filename and '_debug_' not in self.header_filename: + if '_debug_' not in self.header_filename: for follow_chain in [True, False]: sh_funcs.append('%s' % self.lineinfo.get()) if follow_chain: @@ -1358,8 +1358,6 @@ class StructWrapperGen: def _generateSizeHelperHeaderC(self): header = [] header.append('#include "vk_struct_size_helper.h"') - header.append('#include "vulkan/vk_ext_khr_swapchain.h"') - header.append('#include "vulkan/vk_ext_khr_device_swapchain.h"') header.append('#include ') header.append('#include ') header.append('\n// Function definitions\n') -- cgit v1.2.3