mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-28 15:39:00 +02:00
[vk] DualBlendFactor
This commit is contained in:
parent
34833e9ad0
commit
5310485afb
4 changed files with 85 additions and 4 deletions
|
|
@ -679,6 +679,16 @@ public:
|
|||
return features.features.alphaToOne != VK_FALSE;
|
||||
}
|
||||
|
||||
bool SupportsDualSourceBlend(u32 required_dual_source_attachments = 1) const {
|
||||
const u32 max_dual = properties.properties.limits.maxFragmentDualSrcAttachments;
|
||||
return features.features.dualSrcBlend != VK_FALSE &&
|
||||
max_dual >= required_dual_source_attachments;
|
||||
}
|
||||
|
||||
u32 MaxFragmentDualSrcAttachments() const {
|
||||
return properties.properties.limits.maxFragmentDualSrcAttachments;
|
||||
}
|
||||
|
||||
bool SupportsDynamicState3DepthClampEnable() const {
|
||||
return dynamic_state3_depth_clamp_enable;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue