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:
8fb4c1f
)
tests: Fix VkLayerTest.CreateBufferViewNoMemoryBoundToBuffer
author
Chris Forbes
<chrisforbes@google.com>
Tue, 13 Sep 2016 06:13:58 +0000
(18:13 +1200)
committer
Chris Forbes
<chrisforbes@google.com>
Wed, 14 Sep 2016 21:18:57 +0000
(09:18 +1200)
This was using the wrong usage bit.
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
13d9491
..
f1a04d6
100644
(file)
--- a/
tests/layer_validation_tests.cpp
+++ b/
tests/layer_validation_tests.cpp
@@
-7752,7
+7752,7
@@
TEST_F(VkLayerTest, CreateBufferViewNoMemoryBoundToBuffer) {
// a buffer view.
VkBufferCreateInfo buff_ci = {};
buff_ci.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
- buff_ci.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT;
+ buff_ci.usage = VK_BUFFER_USAGE_UNIFORM_
TEXEL_
BUFFER_BIT;
buff_ci.size = 256;
buff_ci.sharingMode = VK_SHARING_MODE_EXCLUSIVE;
VkBuffer buffer;