diff options
| author | Chris Forbes <chrisforbes@google.com> | 2016-06-16 17:16:00 +1200 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2016-06-20 15:48:32 -0600 |
| commit | d828ad1968bcf6c242343f8ec4ada7a842f820b4 (patch) | |
| tree | 0108c5ed49a460196e57a453d906db48142ea8dd | |
| parent | d1e4c7bb6535a64a77a923ee2c05098cffcdee32 (diff) | |
| download | usermoji-d828ad1968bcf6c242343f8ec4ada7a842f820b4.tar.xz | |
layers: Get rid of fence->swapchain link
Nothing used this after rationalizing the state tracking.
Change-Id: I67cc267336b5d64bea9645a8e0a072885db58c26
Signed-off-by: Chris Forbes <chrisforbes@google.com>
| -rw-r--r-- | layers/core_validation.cpp | 1 | ||||
| -rw-r--r-- | layers/core_validation.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index b9c6be77..3cdedc6d 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -9999,7 +9999,6 @@ VKAPI_ATTR VkResult VKAPI_CALL AcquireNextImageKHR(VkDevice device, VkSwapchainK if (result == VK_SUCCESS || result == VK_SUBOPTIMAL_KHR) { if (pFence) { pFence->state = FENCE_INFLIGHT; - pFence->swapchain = swapchain; } // A successful call to AcquireNextImageKHR counts as a signal operation on semaphore diff --git a/layers/core_validation.h b/layers/core_validation.h index 6cc6272d..451d6b65 100644 --- a/layers/core_validation.h +++ b/layers/core_validation.h @@ -213,7 +213,6 @@ enum FENCE_STATE { FENCE_UNSIGNALED, FENCE_INFLIGHT, FENCE_RETIRED }; class FENCE_NODE { public: VkFence fence; - VkSwapchainKHR swapchain; // Swapchain that this fence is submitted against or NULL VkFenceCreateInfo createInfo; std::unordered_set<VkQueue> queues; std::vector<CB_SUBMISSION> submissions; @@ -221,7 +220,7 @@ class FENCE_NODE { FENCE_STATE state; // Default constructor - FENCE_NODE() : swapchain(VK_NULL_HANDLE), state(FENCE_UNSIGNALED) {} + FENCE_NODE() : state(FENCE_UNSIGNALED) {} }; class SEMAPHORE_NODE : public BASE_NODE { |
