diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-03-27 20:56:23 +1000 |
|---|---|---|
| committer | MrPurple666 <antoniosacramento666usa@gmail.com> | 2025-04-12 23:37:11 -0300 |
| commit | c57a5fef9274d8ff17a046ccf003dac8a0b12b56 (patch) | |
| tree | 2d4f851a7815caf4c927e09b61fb198c61b2cebc /src/video_core/renderer_vulkan/renderer_vulkan.cpp | |
| parent | bc86307ad6142c728078827e9e24ddf17ac52143 (diff) | |
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>
Diffstat (limited to 'src/video_core/renderer_vulkan/renderer_vulkan.cpp')
0 files changed, 0 insertions, 0 deletions
