-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor `front::spv::BlockContext` so that, rather than holding various shared and mutable references to various fields of the `crate::Module` being constructed, it holds just a single `&mut Module`, and accesses its fields through that. This should allow the SPIR-V front to use utility functions like `Module::generate_predeclared_type` as intended. Fixes #6679.
- Loading branch information
Showing
3 changed files
with
103 additions
and
105 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
Oops, something went wrong.