From a9b79da4048679b03b077d7723df3bb48cf0ca44 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 10 Jun 2016 12:43:13 +1200 Subject: layers: Add CB_SUBMISSION struct Signed-off-by: Chris Forbes --- layers/core_validation_types.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 const & semaphores) + : cb(cb), semaphores(semaphores) {} + + VkCommandBuffer cb; + std::vector semaphores; +}; + // Fwd declarations of layer_data and helpers to look-up state from layer_data maps namespace core_validation { struct layer_data; -- cgit v1.2.3