-
Notifications
You must be signed in to change notification settings - Fork 244
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
Infer Storage Classes by "specializing" SPIR-V modules "generic" over them. #414
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
8df2d6c
spirv_type_constraints: don't limit `InstSig` inputs to value operands.
eddyb c3c0330
spirv_type_constraints: make the pat! macro more flexible.
eddyb dadbe3c
spirv_type_constraints: support storage class equality constraints.
eddyb 076ac1e
Introduce a "specializer" pass with "generic"s, inference and monomor…
eddyb 2304c51
Infer storage classes using the specializer, replacing special pointe…
eddyb 86e175a
Remove `#[spirv(really_unsafe_ignore_bitcasts)]`.
eddyb 174e6f3
specialize: remove double % after gfx-rs/rspirv#184.
eddyb 2786923
specializer: deduplicate between InferOperandList's two variants.
eddyb 3c43e3d
specializer: show function names in SPECIALIZER_DEBUG output.
eddyb dd707e3
specializer: support `IndexComposite` patterns (for e.g. OpAccessChain).
eddyb aafe05f
spirv_type_constraints: account for `OpUCount{Leading,Trailing}ZerosI…
eddyb 70108cb
link: add DUMP_POST_LINK to allow dumping the module before spirv-opt…
eddyb 857be2a
spirv-std: implement Deref and DerefMut for storage_class wrappers.
eddyb 47e4d0b
spirv_std: deprecate load/store/then methods on storage_class::* types.
eddyb 6a62ef6
specializer: renumber IDs in expanded functions.
eddyb 25f7c5d
specializer: do not run a DCE pass just before.
eddyb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this do? there are a few tests in
rustc_codegen_spirv/linker/test.rs
, does this disable those?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I... this is an accident, sorry! I was trying to debug reducing my RLS waiting time (it didn't work sigh) and accidentally included it in a commit apparently (wouldn't have happened if I was still using
git gui
oh well).