projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b62ec
)
tests: Tease apart SimultaneousUse test
author
Chris Forbes
<chrisforbes@google.com>
Thu, 18 May 2017 21:34:05 +0000
(14:34 -0700)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Fri, 19 May 2017 02:08:01 +0000
(19:08 -0700)
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
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
1e32a1b
..
8e5d6c0
100644
(file)
--- 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) {