aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorJamie Madill <jmadill@chromium.org>2017-12-03 12:25:32 -0500
committerTobin Ehlis <tobine@google.com>2017-12-19 16:12:42 -0700
commit0c2d85d8c5b54fa860e54a0d9cd7c49616edda70 (patch)
tree4ba457aba084e4ba6b1cbcf69ebc31ae45f41cd2 /layers/core_validation.cpp
parent36ac83258730ad4c69091e720c7b70978e0625a8 (diff)
downloadusermoji-0c2d85d8c5b54fa860e54a0d9cd7c49616edda70.tar.xz
layers: Remove unused variable from core validation.
This commit was accidentally reverted in dec37fb9172: layers: Add descriptor limit checks to vkCreatePipelineLayout()
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 4a31fac3..68575f67 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;