Home
last modified time | relevance | path

Searched refs:blend_attachment (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/demos/smoke/
DSmoke.cpp318 VkPipelineColorBlendAttachmentState blend_attachment = {}; in create_pipeline() local
319 blend_attachment.blendEnable = true; in create_pipeline()
320 blend_attachment.srcColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA; in create_pipeline()
321 blend_attachment.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA; in create_pipeline()
322 blend_attachment.colorBlendOp = VK_BLEND_OP_ADD; in create_pipeline()
323 blend_attachment.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE; in create_pipeline()
324 blend_attachment.dstAlphaBlendFactor = VK_BLEND_FACTOR_ZERO; in create_pipeline()
325 blend_attachment.alphaBlendOp = VK_BLEND_OP_ADD; in create_pipeline()
326 blend_attachment.colorWriteMask = VK_COLOR_COMPONENT_R_BIT | in create_pipeline()
335 blend_info.pAttachments = &blend_attachment; in create_pipeline()