From 6ab13d36ac05fc9c43143d1b00c35f425df4dcef Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Sun, 3 Dec 2017 12:25:32 -0500 Subject: [PATCH] layers: Remove unused variable from core validation. This commit was accidentally reverted in dec37fb9172: layers: Add descriptor limit checks to vkCreatePipelineLayout() --- layers/core_validation.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 4a31fac..68575f6 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -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; -- 2.7.4