We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
entry_point
process_overrides
1 parent 7a65558 commit 988f0ddCopy full SHA for 988f0dd
1 file changed
naga/src/back/pipeline_constants.rs
@@ -54,6 +54,10 @@ pub enum PipelineConstantError {
54
/// invalid results (e.g. replace an invalid expression with a constant) for
55
/// invalid modules.
56
///
57
+/// If `entry_point` is specified, remove all other entry points from the
58
+/// returned module. Without this, re-validation will fail if any entry point
59
+/// uses an override whose value wasn't provided.
60
+///
61
/// If no changes are needed, this just returns `Cow::Borrowed` references to
62
/// `module` and `module_info`. Otherwise, it clones `module`, retains only the
63
/// selected entry point, compacts the module, edits its [`global_expressions`]
0 commit comments