aboutsummaryrefslogtreecommitdiff
path: root/layers
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-06-10 12:43:13 +1200
committerTobin Ehlis <tobine@google.com>2016-06-13 14:56:31 -0600
commita9b79da4048679b03b077d7723df3bb48cf0ca44 (patch)
tree3c8bd7675d340c875276456a3853adef5905e85e /layers
parentb1e628eccd9de88fa4ff46f7d104c41982f8cadc (diff)
downloadusermoji-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.h8
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;