Skip to content

Commit

Permalink
tests: Use DefaultColorBlendAttachmentState
Browse files Browse the repository at this point in the history
  • Loading branch information
spencer-lunarg committed Jan 17, 2025
1 parent a80bafc commit efd462f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/unit/shader_interface_positive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit efd462f

Please sign in to comment.