From 57f953b7e623241e89248a0c39b549808a41c034 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 18 May 2017 14:34:05 -0700 Subject: [PATCH] tests: Tease apart SimultaneousUse test Split the two individaul cases up, and write them clearly. Add a third for the edge case of the one CmdExecuteCommands call including the same non-simultaneous CB twice. --- layers/core_validation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 1e32a1b..8e5d6c0 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -3898,6 +3898,7 @@ static bool validateCommandBufferState(layer_data *dev_data, GLOBAL_CB_NODE *cb_ "set, but has been submitted 0x%" PRIxLEAST64 " times.", cb_state->commandBuffer, cb_state->submitCount + current_submit_count); } + // Validate that cmd buffers have been updated if (CB_RECORDED != cb_state->state) { if (CB_INVALID == cb_state->state) { -- 2.7.4