mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-27 17:58:59 +02:00
[vk] Fixing wrong enabling logic
This commit is contained in:
parent
07094078ab
commit
f6f0690544
1 changed files with 8 additions and 2 deletions
|
|
@ -707,9 +707,15 @@ public:
|
|||
return dynamic_state3_alpha_to_one;
|
||||
}
|
||||
|
||||
/// Returns true if the device supports VK_EXT_vertex_input_dynamic_state.
|
||||
/// Returns true when the user enabled extended core dynamic states (level > 0).
|
||||
bool UsesAdvancedCoreDynamicState() const {
|
||||
return u32(Settings::values.dyna_state.GetValue()) > 0;
|
||||
}
|
||||
|
||||
/// Returns true if VK_EXT_vertex_input_dynamic_state is enabled on the device.
|
||||
bool IsExtVertexInputDynamicStateSupported() const {
|
||||
return extensions.vertex_input_dynamic_state;
|
||||
return extensions.vertex_input_dynamic_state &&
|
||||
features.vertex_input_dynamic_state.vertexInputDynamicState;
|
||||
}
|
||||
|
||||
/// Returns true if the device supports VK_EXT_shader_demote_to_helper_invocation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue