diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-06-10 12:43:13 +1200 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-06-13 14:56:31 -0600 |
| commit | a9b79da4048679b03b077d7723df3bb48cf0ca44 (patch) | |
| tree | 3c8bd7675d340c875276456a3853adef5905e85e /layers | |
| parent | b1e628eccd9de88fa4ff46f7d104c41982f8cadc (diff) | |
| download | usermoji-a9b79da4048679b03b077d7723df3bb48cf0ca44.tar.xz | |
layers: Add CB_SUBMISSION struct
Signed-off-by: Chris Forbes <chrisforbes@google.com>
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/core_validation_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h index 677c7b9b..25d1e8cb 100644 --- a/layers/core_validation_types.h +++ b/layers/core_validation_types.h @@ -480,6 +480,14 @@ struct GLOBAL_CB_NODE : public BASE_NODE { ~GLOBAL_CB_NODE(); }; +struct CB_SUBMISSION { + CB_SUBMISSION(VkCommandBuffer cb, std::vector<VkSemaphore> const & semaphores) + : cb(cb), semaphores(semaphores) {} + + VkCommandBuffer cb; + std::vector<VkSemaphore> semaphores; +}; + // Fwd declarations of layer_data and helpers to look-up state from layer_data maps namespace core_validation { struct layer_data; |
