mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-26 17:12:03 +00:00
[vk] DualBlendFactor
This commit is contained in:
committed by
Caio Oliveira
parent
1a75757bbf
commit
ae48fe0a13
@@ -710,6 +710,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user