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:
7ef971c
)
tests: Fix VkLayerTest.BufferMemoryNotBound
author
Chris Forbes
<chrisforbes@google.com>
Fri, 16 Sep 2016 05:42:42 +0000
(17:42 +1200)
committer
Chris Forbes
<chrisforbes@google.com>
Sun, 18 Sep 2016 20:54:42 +0000
(08:54 +1200)
Wrong usage flags.
Signed-off-by: Chris Forbes <chrisforbes@google.com>
tests/layer_validation_tests.cpp
patch
|
blob
|
history
diff --git
a/tests/layer_validation_tests.cpp
b/tests/layer_validation_tests.cpp
index
017c81a
..
e1c1346
100644
(file)
--- a/
tests/layer_validation_tests.cpp
+++ b/
tests/layer_validation_tests.cpp
@@
-6945,7
+6945,7
@@
TEST_F(VkLayerTest, BufferMemoryNotBound) {
VkBufferCreateInfo buf_info = {};
buf_info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
- buf_info.usage = VK_BUFFER_USAGE_
UNIFORM_BUFFER
_BIT;
+ buf_info.usage = VK_BUFFER_USAGE_
TRANSFER_SRC
_BIT;
buf_info.size = 256;
buf_info.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
VkResult err = vkCreateBuffer(m_device->device(), &buf_info, NULL, &buffer);