Remove double allocate from memory mapping tests
authorMika Isojärvi <misojarvi@google.com>
Tue, 24 May 2016 22:20:00 +0000 (15:20 -0700)
committerMika Isojärvi <misojarvi@google.com>
Tue, 24 May 2016 22:52:31 +0000 (15:52 -0700)
Bug: 28936898
Change-Id: I7ef8da41929288c10a9d978bbe84d086eba008e4

external/vulkancts/modules/vulkan/memory/vktMemoryMappingTests.cpp

index a9a3704..45c6ba3 100644 (file)
@@ -628,7 +628,6 @@ public:
                m_usage += size;
                m_totalMemTracker.allocate(getMemoryClass(), size);
                m_totalMemTracker.allocate(MEMORY_CLASS_SYSTEM, size * REFERENCE_BYTES_PER_BYTE);
-               m_totalMemTracker.allocate(getMemoryClass(), size);
                m_objects.push_back(object);
 
                return object;