diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-12-06 00:40:01 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-01 22:43:58 +0100 |
commit | d33251db9300e29ae830ec74e0b39ec0aa202b30 (patch) | |
tree | 3f17cbd40dcd970d152001d61aa1d275dbe11280 /src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | |
parent | Vulkan Implement Dynamic State 2 LogicOp and PatchVertices (diff) | |
download | yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar.gz yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar.bz2 yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar.lz yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar.xz yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.tar.zst yuzu-d33251db9300e29ae830ec74e0b39ec0aa202b30.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_pipeline_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index ee1ad744f..6cd162422 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -356,7 +356,8 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device .has_extended_dynamic_state = device.IsExtExtendedDynamicStateSupported(), .has_extended_dynamic_state_2 = device.IsExtExtendedDynamicState2Supported(), .has_extended_dynamic_state_2_extra = device.IsExtExtendedDynamicState2ExtrasSupported(), - .has_extended_dynamic_state_3 = device.IsExtExtendedDynamicState3Supported(), + .has_extended_dynamic_state_3_blend = device.IsExtExtendedDynamicState3BlendingSupported(), + .has_extended_dynamic_state_3_enables = device.IsExtExtendedDynamicState3EnablesSupported(), .has_dynamic_vertex_input = device.IsExtVertexInputDynamicStateSupported(), }; } @@ -456,8 +457,10 @@ void PipelineCache::LoadDiskResources(u64 title_id, std::stop_token stop_loading dynamic_features.has_extended_dynamic_state_2 || (key.state.extended_dynamic_state_2_extra != 0) != dynamic_features.has_extended_dynamic_state_2_extra || - (key.state.extended_dynamic_state_3 != 0) != - dynamic_features.has_extended_dynamic_state_3 || + (key.state.extended_dynamic_state_3_blend != 0) != + dynamic_features.has_extended_dynamic_state_3_blend || + (key.state.extended_dynamic_state_3_enables != 0) != + dynamic_features.has_extended_dynamic_state_3_enables || (key.state.dynamic_vertex_input != 0) != dynamic_features.has_dynamic_vertex_input) { return; } |