diff options
author | Chris Forbes <chrisforbes@google.com> | 2017-07-20 11:07:03 -0700 |
---|---|---|
committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-07-20 13:11:11 -0700 |
commit | 25db654ca39c1f12480fcb37d1df828c563a9e28 (patch) | |
tree | ceccad5855552d609dc6904482d8fff0fd3ce109 /tests/vkrenderframework.h | |
parent | 846ab73893e93bd34024adc42c83f18605385c94 (diff) | |
download | vulkan-validation-layers-25db654ca39c1f12480fcb37d1df828c563a9e28.tar.gz |
tests: Add test for missing FS output but masked
This covers #1931.
Diffstat (limited to 'tests/vkrenderframework.h')
-rw-r--r-- | tests/vkrenderframework.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/vkrenderframework.h b/tests/vkrenderframework.h index 2d5493efe..03ffc8dc2 100644 --- a/tests/vkrenderframework.h +++ b/tests/vkrenderframework.h @@ -366,10 +366,10 @@ class VkPipelineObj : public vk_testing::Pipeline { void AddColorAttachment(uint32_t binding, const VkPipelineColorBlendAttachmentState *att); void MakeDynamic(VkDynamicState state); - void AddColorAttachment() { + void AddColorAttachment(VkColorComponentFlags writeMask = 0xf) { VkPipelineColorBlendAttachmentState att = {}; att.blendEnable = VK_FALSE; - att.colorWriteMask = 0xf; + att.colorWriteMask = writeMask; AddColorAttachment(0, &att); } |