tests: Fix VKLayerTest.StencilLoadOp
authorChris Forbes <chrisforbes@google.com>
Fri, 16 Sep 2016 04:45:16 +0000 (16:45 +1200)
committerChris 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

index 14cc8e7..987c4f1 100644 (file)
@@ -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;