Skip to content

video_core/shader: Add Shader JIT Multithreading #1051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jbm11208
Copy link
Contributor

@jbm11208 jbm11208 commented May 20, 2025

Implement parallel shader compilation and safe fallback for missing shaders.
This reduces the load on the main thread, resulting in a reduction in in-game stuttering caused by shader generation.

EDIT:
I neglected to mention that this PR also implements LRU-based shader cache eviction and a size limit in the JIT engine

@jbm11208 jbm11208 marked this pull request as ready for review May 20, 2025 17:31
@jbm11208 jbm11208 requested a review from PabloMK7 May 22, 2025 16:31
@OpenSauce04 OpenSauce04 force-pushed the Shader-JIT-Multithreading branch from ffdca85 to 477d673 Compare June 9, 2025 18:38
@OpenSauce04 OpenSauce04 added enhancement New feature or request squash This pull request should be squashed if approved labels Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/L squash This pull request should be squashed if approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants