diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-01-11 11:36:16 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-01-17 14:58:38 -0700 |
| commit | ae8d3b1c5982f64b581ab3489680ee247af4f1b3 (patch) | |
| tree | 3ce56d3a81a7b10abe779173ae19a64dcc11931f /layers/buffer_validation.h | |
| parent | 44f33c7105afa0963020fd347d26549554d1b7c4 (diff) | |
| download | usermoji-ae8d3b1c5982f64b581ab3489680ee247af4f1b3.tar.xz | |
layers: Move CreateImage recording to buf/img module
- Move source from core_validation.cpp into new module
- Add new module to layers cmake file
- Update android build scripts/makefiles for new files
Change-Id: Ia4000b26384d96a551d727f5e37997372f01764a
Diffstat (limited to 'layers/buffer_validation.h')
| -rw-r--r-- | layers/buffer_validation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layers/buffer_validation.h b/layers/buffer_validation.h index 0e53bbfc..d99e5658 100644 --- a/layers/buffer_validation.h +++ b/layers/buffer_validation.h @@ -26,4 +26,9 @@ #include <unordered_map> #include <vector> +VK_LAYER_EXPORT 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, + const VkImageCreateInfo *pCreateInfo, VkImage *pImage); + #endif // CORE_VALIDATION_BUFFER_VALIDATION_H_ |
