projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a81248
)
tests:Fix InvalidCmdBufferBufferDestroyed
author
Tobin Ehlis
<tobine@google.com>
Fri, 3 Nov 2017 19:41:39 +0000
(13:41 -0600)
committer
Tobin Ehlis
<tobine@google.com>
Mon, 6 Nov 2017 23:29:51 +0000
(16:29 -0700)
Size allocation for InvalidCmdBufferBufferDestroyed based on memory
requirements.
tests/layer_validation_tests.cpp
patch
|
blob
|
history
diff --git
a/tests/layer_validation_tests.cpp
b/tests/layer_validation_tests.cpp
index
46acde3
..
34c6161
100644
(file)
--- a/
tests/layer_validation_tests.cpp
+++ b/
tests/layer_validation_tests.cpp
@@
-5695,7
+5695,7
@@
TEST_F(VkLayerTest, InvalidCmdBufferBufferDestroyed) {
VkMemoryAllocateInfo alloc_info = {};
alloc_info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO;
- alloc_info.allocationSize =
256
;
+ alloc_info.allocationSize =
mem_reqs.size
;
bool pass = false;
pass = m_device->phy().set_memory_type(mem_reqs.memoryTypeBits, &alloc_info, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT);
if (!pass) {