From 72d15cbb0fedc33b0e53e8fee263f96f808b5c5c Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Wed, 7 Oct 2015 11:32:31 -0600 Subject: WSI Validation: Move some things between .h and .cpp files. This will more-closely mirror what's being done in the generic layer, which was the original source of this layer. --- layers/swapchain.cpp | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'layers/swapchain.cpp') diff --git a/layers/swapchain.cpp b/layers/swapchain.cpp index a36854b0..b45007fc 100644 --- a/layers/swapchain.cpp +++ b/layers/swapchain.cpp @@ -25,6 +25,15 @@ * Ian Elliott */ +#include +#include +#include +#include "vk_loader_platform.h" +#include "vk_layer.h" +#include "vk_layer_config.h" +#include "vk_layer_logging.h" +#include "vk_layer_extension_utils.h" + #include "swapchain.h" // FIXME/TODO: Make sure this layer is thread-safe! @@ -33,25 +42,6 @@ static layer_data mydata; -static const VkLayerProperties globalLayerProps[] = { - { - "Swapchain", - VK_API_VERSION, // specVersion - VK_MAKE_VERSION(0, 1, 0), // implVersion - "layer: Swapchain", - } -}; - -static const VkLayerProperties deviceLayerProps[] = { - { - "Swapchain", - VK_API_VERSION, // specVersion - VK_MAKE_VERSION(0, 1, 0), // implVersion - "layer: Swapchain", - } -}; - - static LOADER_PLATFORM_THREAD_ONCE_DECLARATION(initOnce); // NOTE: The following are for keeping track of info that is used for -- cgit v1.2.3