mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-16 03:57:50 +00:00
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>
This commit is contained in:
parent
bc86307ad6
commit
c57a5fef92
8 changed files with 249 additions and 33 deletions
|
@ -18,6 +18,7 @@ enum class BooleanSetting(override val key: String) : AbstractBooleanSetting {
|
|||
RENDERER_ASYNCHRONOUS_SHADERS("use_asynchronous_shaders"),
|
||||
RENDERER_REACTIVE_FLUSHING("use_reactive_flushing"),
|
||||
RENDERER_DEBUG("debug"),
|
||||
RENDERER_ENHANCED_SHADER_BUILDING("use_enhanced_shader_building"),
|
||||
PICTURE_IN_PICTURE("picture_in_picture"),
|
||||
USE_CUSTOM_RTC("custom_rtc_enabled"),
|
||||
BLACK_BACKGROUNDS("black_backgrounds"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue