mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-06-03 07:08:15 +02:00
Compare commits
7 Commits
552cc33ba3
...
b090a070c8
| Author | SHA1 | Date | |
|---|---|---|---|
|
b090a070c8
|
|||
| 069f8af9d6 | |||
| 8b952f14c5 | |||
| cfc3fccac4 | |||
| f691ce6890 | |||
| fb0eecde00 | |||
| f65b8a2aef |
Vendored
+2
-2
@@ -3176,7 +3176,7 @@ void kvfGPipelineBuilderEnableAdditiveBlending(KvfGraphicsPipelineBuilder* build
|
|||||||
builder->color_blend_attachment_state.dstColorBlendFactor = VK_BLEND_FACTOR_ONE;
|
builder->color_blend_attachment_state.dstColorBlendFactor = VK_BLEND_FACTOR_ONE;
|
||||||
builder->color_blend_attachment_state.colorBlendOp = VK_BLEND_OP_ADD;
|
builder->color_blend_attachment_state.colorBlendOp = VK_BLEND_OP_ADD;
|
||||||
builder->color_blend_attachment_state.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE;
|
builder->color_blend_attachment_state.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE;
|
||||||
builder->color_blend_attachment_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_ZERO;
|
builder->color_blend_attachment_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
||||||
builder->color_blend_attachment_state.alphaBlendOp = VK_BLEND_OP_ADD;
|
builder->color_blend_attachment_state.alphaBlendOp = VK_BLEND_OP_ADD;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3189,7 +3189,7 @@ void kvfGPipelineBuilderEnableAlphaBlending(KvfGraphicsPipelineBuilder* builder)
|
|||||||
builder->color_blend_attachment_state.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
builder->color_blend_attachment_state.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
||||||
builder->color_blend_attachment_state.colorBlendOp = VK_BLEND_OP_ADD;
|
builder->color_blend_attachment_state.colorBlendOp = VK_BLEND_OP_ADD;
|
||||||
builder->color_blend_attachment_state.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE;
|
builder->color_blend_attachment_state.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE;
|
||||||
builder->color_blend_attachment_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_ZERO;
|
builder->color_blend_attachment_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
||||||
builder->color_blend_attachment_state.alphaBlendOp = VK_BLEND_OP_ADD;
|
builder->color_blend_attachment_state.alphaBlendOp = VK_BLEND_OP_ADD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user