-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Binary Archives as a pipeline cache on the metal backend (#3719)
* First draft of a pipeline cache for metal using binary archives! * Load pipeline caches from disk! * Clean up quad example a little bit * Add warning to merge_pipeline_caches * Handle empty data inputs to create_pipeline_cache * Tested that pipeline caching does indeed work! * Do the same for compute pipelines * Make the binary archive optional based on features * Don't use a Mutex for the BinaryArchive. * Add a spv->msl cache * Switch to git patches * Serialize/Deserialize both caches * use a spv->msl cache for naga instead. * Use a git patch for naga instead of a path * Apply some suggestions * Make a lot of things dependent on a pipeline-cache feature * Update naga * Use latest naga on the gl and vulkan backends * Apply suggestions wrt u8s * Move pipeline cache stuff to its own module * Switch to naga gfx-22
- Loading branch information
Showing
9 changed files
with
424 additions
and
165 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
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
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
Oops, something went wrong.