aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Forbes <chrisforbes@google.com>2016-06-08 09:51:34 +1200
committerTobin Ehlis <tobine@google.com>2016-06-13 14:56:31 -0600
commit7fc7916db5da17cb54667dcd1630eca9d58e860e (patch)
tree66ce79713ed126cf8ad505ce98a1a6459159fc80
parent1eb1d75abe0ac5bbbd601805643dde1c42e94e60 (diff)
downloadusermoji-7fc7916db5da17cb54667dcd1630eca9d58e860e.tar.xz
layers: remove tracking of last queue and fence for CB
Unused. Signed-off-by: Chris Forbes <chrisforbes@google.com>
-rw-r--r--layers/core_validation.cpp4
-rw-r--r--layers/core_validation_types.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 949276b6..07f151db 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -3675,8 +3675,6 @@ static void resetCB(layer_data *dev_data, const VkCommandBuffer cb) {
pCB->activeRenderPass = nullptr;
pCB->activeSubpassContents = VK_SUBPASS_CONTENTS_INLINE;
pCB->activeSubpass = 0;
- pCB->lastSubmittedFence = VK_NULL_HANDLE;
- pCB->lastSubmittedQueue = VK_NULL_HANDLE;
pCB->destroyedSets.clear();
pCB->updatedSets.clear();
pCB->destroyedFramebuffers.clear();
@@ -4582,8 +4580,6 @@ QueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo *pSubmits, V
if (pCBNode) {
pCBNode->semaphores = semaphoreList;
pCBNode->submitCount++; // increment submit count
- pCBNode->lastSubmittedFence = fence;
- pCBNode->lastSubmittedQueue = queue;
skipCall |= validatePrimaryCommandBufferState(dev_data, pCBNode);
// Call submit-time functions to validate/update state
for (auto &function : pCBNode->validate_functions) {
diff --git a/layers/core_validation_types.h b/layers/core_validation_types.h
index ce51dba4..7fef3e3c 100644
--- a/layers/core_validation_types.h
+++ b/layers/core_validation_types.h
@@ -441,8 +441,6 @@ struct GLOBAL_CB_NODE : public BASE_NODE {
std::vector<VkRect2D> scissors;
VkRenderPassBeginInfo activeRenderPassBeginInfo;
uint64_t fenceId;
- VkFence lastSubmittedFence;
- VkQueue lastSubmittedQueue;
RENDER_PASS_NODE *activeRenderPass;
VkSubpassContents activeSubpassContents;
uint32_t activeSubpass;