layers: Remove unused variable from core validation.
authorJamie Madill <jmadill@chromium.org>
Sun, 3 Dec 2017 17:25:32 +0000 (12:25 -0500)
committerTobin Ehlis <tobine@google.com>
Tue, 19 Dec 2017 23:12:42 +0000 (16:12 -0700)
This commit was accidentally reverted in dec37fb9172:
layers: Add descriptor limit checks to vkCreatePipelineLayout()

layers/core_validation.cpp

index 4a31fac..68575f6 100644 (file)
@@ -104,10 +104,6 @@ static const VkDeviceMemory MEMTRACKER_SWAP_CHAIN_IMAGE_KEY = (VkDeviceMemory)(-
 // 2nd special memory handle used to flag object as unbound from memory
 static const VkDeviceMemory MEMORY_UNBOUND = VkDeviceMemory(~((uint64_t)(0)) - 1);
 
-// A special value of (0xFFFFFFFF, 0xFFFFFFFF) indicates that the surface size will be determined
-// by the extent of a swapchain targeting the surface.
-static const uint32_t kSurfaceSizeFromSwapchain = 0xFFFFFFFFu;
-
 struct instance_layer_data {
     VkInstance instance = VK_NULL_HANDLE;
     debug_report_data *report_data = nullptr;