-
Notifications
You must be signed in to change notification settings - Fork 931
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
[spv/msl/hlsl-out] support pipeline constant value replacements #4998
Conversation
340768e
to
9d72542
Compare
82ebbfd
to
420690a
Compare
9d72542
to
5e4a8f7
Compare
420690a
to
6a494a8
Compare
5e4a8f7
to
6cae486
Compare
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.
Just booping to get out of my review queue :)
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.
Okay, this looks good to me.
I have various suggestions. I'll push commits for some of them to teoxoy/wgpu@pipeline-constants...jimblandy:wgpu:pipeline-constants
params.pipeline_constants.clone(), | ||
); | ||
if !old.is_empty() { | ||
panic!("Supply pipeline constants via pipeline_constants instead of msl_pipeline.constants!"); |
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.
In a follow-up, let's try to make the parameters for all the snapshot backends work in the same way.
19a3714
to
e4d71e1
Compare
Adds support for value replacements of pipeline-overridable constants for our 3 main back-ends.
Tracking meta issue: #4484.