From a8ed2a19e1cac17b389c5cbb25e04593c376d510 Mon Sep 17 00:00:00 2001 From: Pyry Haulos Date: Tue, 12 Jan 2016 10:54:11 -0800 Subject: [PATCH] Fix typo in internal alloc validation --- .../vulkancts/framework/vulkan/vkAllocationCallbackUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/vulkancts/framework/vulkan/vkAllocationCallbackUtil.cpp b/external/vulkancts/framework/vulkan/vkAllocationCallbackUtil.cpp index ec748affa..59e965b6c 100644 --- a/external/vulkancts/framework/vulkan/vkAllocationCallbackUtil.cpp +++ b/external/vulkancts/framework/vulkan/vkAllocationCallbackUtil.cpp @@ -500,7 +500,7 @@ void validateAllocationCallbacks (const AllocationCallbackRecorder& recorder, Al size_t* const totalAllocSizePtr = &results->internalAllocationTotal[record.data.internalAllocation.type][record.data.internalAllocation.scope]; const size_t size = record.data.internalAllocation.size; - if (record.type == AllocationCallbackRecord::TYPE_FREE) + if (record.type == AllocationCallbackRecord::TYPE_INTERNAL_FREE) { if (*totalAllocSizePtr < size) { -- 2.34.1