aboutsummaryrefslogtreecommitdiff
path: root/layers/buffer_validation.h
diff options
context:
space:
mode:
Diffstat (limited to 'layers/buffer_validation.h')
-rw-r--r--layers/buffer_validation.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/layers/buffer_validation.h b/layers/buffer_validation.h
index a5fd3960..88342a14 100644
--- a/layers/buffer_validation.h
+++ b/layers/buffer_validation.h
@@ -21,11 +21,16 @@
#define CORE_VALIDATION_BUFFER_VALIDATION_H_
#include "core_validation_types.h"
+#include "core_validation_error_enums.h"
#include "vulkan/vk_layer.h"
#include <memory>
#include <unordered_map>
#include <vector>
+
+bool PreCallValidateCreateImage(core_validation::layer_data *device_data, const VkImageCreateInfo *pCreateInfo,
+ const VkAllocationCallbacks *pAllocator, VkImage *pImage);
+
void PostCallRecordCreateImage(std::unordered_map<VkImage, std::unique_ptr<IMAGE_STATE>> *imageMap,
std::unordered_map<VkImage, std::vector<ImageSubresourcePair>> *imageSubresourceMap,
std::unordered_map<ImageSubresourcePair, IMAGE_LAYOUT_NODE> *imageLayoutMap,