layers: Move image struct into cv_types header
authorMark Lobodzinski <mark@lunarg.com>
Tue, 17 Jan 2017 16:14:36 +0000 (09:14 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 17 Jan 2017 21:58:38 +0000 (14:58 -0700)
To allow external access to image_state structs.

Change-Id: I3af02068c81b32df68b56c4e210cb2a5b2000efa

layers/core_validation.h
layers/core_validation_types.h

index f1185f3..fe850ec 100644 (file)
@@ -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;
index d0c05c7..2523be3 100644 (file)
@@ -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;