Browse Source
WIP: Enhance shader compilation performance and control
WIP: Enhance shader compilation performance and control
This commit adds new settings and optimizations for shader compilation: - Add new settings: - use_enhanced_shader_building: Enable enhanced shader compilation - shader_compilation_priority: Control shader compilation priority - Improve shader compilation performance: - Optimize worker thread allocation based on CPU cores - Add smarter async shader compilation heuristics - Prioritize vertex and fragment shader compilation - Add performance tracking and logging - Add performance monitoring: - Track shader compilation times - Log slow shader compilations - Monitor async shader compilation statistics This is a work in progress commit. Further optimizations and refinements will be needed based on testing and feedback. Signed-off-by: Zephyron <zephyron@citron-emu.org>nce_cpp
committed by
MrPurple666
8 changed files with 248 additions and 32 deletions
-
1src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt
-
11src/common/settings.h
-
89src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
-
3src/video_core/renderer_opengl/gl_graphics_pipeline.h
-
31src/video_core/renderer_opengl/gl_shader_cache.cpp
-
37src/video_core/renderer_vulkan/vk_compute_pipeline.cpp
-
29src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
-
79src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue