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:
2328177
)
tests: Fix VKLayerTest.StencilLoadOp
author
Chris Forbes
<chrisforbes@google.com>
Fri, 16 Sep 2016 04:45:16 +0000
(16:45 +1200)
committer
Chris Forbes
<chrisforbes@google.com>
Sun, 18 Sep 2016 20:54:42 +0000
(08:54 +1200)
Leaving this as 0 isn't valid.
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
14cc8e7
..
987c4f1
100644
(file)
--- a/
tests/layer_validation_tests.cpp
+++ b/
tests/layer_validation_tests.cpp
@@
-4333,6
+4333,7
@@
TEST_F(VkLayerTest, StencilLoadOp) {
VkAttachmentDescription att = {};
VkAttachmentReference ref = {};
att.format = depth_stencil_fmt;
+ att.samples = VK_SAMPLE_COUNT_1_BIT;
att.loadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE;
att.storeOp = VK_ATTACHMENT_STORE_OP_DONT_CARE;
att.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_CLEAR;