-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Safety fixed after my last jointed PR (#19)
* Fix async shader building on startup occasionally not blocking the "loading" mutex in time for the first custoom shader to be used by the main thread, resulting in a crash (the game would try to use a custom shader that had not yet been built, assuming it was built). We now start the async compilation thread and wait for it to lock the "loading" mutex before continuing the main thread execution. (cherry picked from commit 60c6aea) * Fixed debkit crashing if a shader was named like 0xABCDEFGE.ps_5_0.hlsl (non number characters (cherry picked from commit 909e77c) * Extra safety to avoid pipelines custom shaders being loaded/compiled twice (cherry picked from commit f3088d3)
- Loading branch information
Showing
1 changed file
with
54 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters