From efd462f06500d63971d9378fd7d6cf98d5306662 Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Thu, 16 Jan 2025 13:15:18 -0500 Subject: [PATCH] tests: Use DefaultColorBlendAttachmentState --- tests/unit/shader_interface_positive.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/unit/shader_interface_positive.cpp b/tests/unit/shader_interface_positive.cpp index 7f1e2ababf2..89b504b45d5 100644 --- a/tests/unit/shader_interface_positive.cpp +++ b/tests/unit/shader_interface_positive.cpp @@ -1445,10 +1445,9 @@ TEST_F(PositiveShaderInterface, MultipleFragmentAttachment) { rp.AddColorAttachment(1); rp.CreateRenderPass(); - VkPipelineColorBlendAttachmentState cb_as[2] = {{VK_FALSE, VK_BLEND_FACTOR_ZERO, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, - VK_BLEND_FACTOR_ZERO, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, 0xf}, - {VK_FALSE, VK_BLEND_FACTOR_ZERO, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, - VK_BLEND_FACTOR_ZERO, VK_BLEND_FACTOR_ZERO, VK_BLEND_OP_ADD, 0xf}}; + VkPipelineColorBlendAttachmentState cb_as[2]; + cb_as[0] = DefaultColorBlendAttachmentState(); + cb_as[1] = DefaultColorBlendAttachmentState(); CreatePipelineHelper pipe(*this); pipe.shader_stages_[1] = fs.GetStageCreateInfo();