mirror of
https://git.citron-emu.org/citron/emu.git
synced 2025-12-12 07:37:00 +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
55dc3f8ec1
commit
1fd5fefcb1
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