aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2017-04-21 13:21:58 -0700
committerChris Forbes <chrisf@ijw.co.nz>2017-04-23 09:53:31 +1200
commit5144f5eb709ab09ff8c830a43563215752eb5c95 (patch)
tree9bc636c9c3d95a368e44c032fa8fcbb56ff98a85
parent21506b7b46cb5d3625036592e67b339d1f03c4d8 (diff)
downloadusermoji-5144f5eb709ab09ff8c830a43563215752eb5c95.tar.xz
layers: Remove GLOBAL_CB_NODE::numCmds
Nobody used this.
-rw-r--r--layers/core_validation.cpp1
-rw-r--r--layers/core_validation_types.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 1dda69d8..de5949e6 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -3621,7 +3621,6 @@ static void resetCB(layer_data *dev_data, const VkCommandBuffer cb) {
pCB->commandBuffer = cb;
memset(&pCB->beginInfo, 0, sizeof(VkCommandBufferBeginInfo));
memset(&pCB->inheritanceInfo, 0, sizeof(VkCommandBufferInheritanceInfo));
- pCB->numCmds = 0;
pCB->hasDrawCmd = false;
pCB->state = CB_NEW;
pCB->submitCount = 0;
diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h
index 416f3339..50f337a4 100644
--- a/layers/core_validation_types.h
+++ b/layers/core_validation_types.h
@@ -641,7 +641,6 @@ struct GLOBAL_CB_NODE : public BASE_NODE {
VkCommandBufferBeginInfo beginInfo;
VkCommandBufferInheritanceInfo inheritanceInfo;
VkDevice device; // device this CB belongs to
- uint64_t numCmds; // number of cmds in this CB
bool hasDrawCmd;
CB_STATE state; // Track cmd buffer update state
uint64_t submitCount; // Number of times CB has been submitted