From 44f33c7105afa0963020fd347d26549554d1b7c4 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Tue, 17 Jan 2017 09:14:36 -0700 Subject: [PATCH] layers: Move image struct into cv_types header To allow external access to image_state structs. Change-Id: I3af02068c81b32df68b56c4e210cb2a5b2000efa --- layers/core_validation.h | 5 ----- layers/core_validation_types.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layers/core_validation.h b/layers/core_validation.h index f1185f3..fe850ec 100644 --- a/layers/core_validation.h +++ b/layers/core_validation.h @@ -139,11 +139,6 @@ struct GENERIC_HEADER { const void *pNext; }; -struct IMAGE_LAYOUT_NODE { - VkImageLayout layout; - VkFormat format; -}; - class PHYS_DEV_PROPERTIES_NODE { public: VkPhysicalDeviceProperties properties; diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h index d0c05c7..2523be3 100644 --- a/layers/core_validation_types.h +++ b/layers/core_validation_types.h @@ -640,6 +640,11 @@ struct CB_SUBMISSION { VkFence fence; }; +struct IMAGE_LAYOUT_NODE { + VkImageLayout layout; + VkFormat format; +}; + // Fwd declarations of layer_data and helpers to look-up/validate state from layer_data maps namespace core_validation { struct layer_data; -- 2.7.4