Function naga::back::pipeline_constants::process_override
source ยท fn process_override(
(old_h, override_, span): (Handle<Override>, Override, Span),
pipeline_constants: &PipelineConstants,
module: &mut Module,
override_map: &mut HandleVec<Override, Handle<Constant>>,
adjusted_global_expressions: &HandleVec<Expression, Handle<Expression>>,
adjusted_constant_initializers: &mut HashSet<Handle<Constant>>,
global_expression_kind_tracker: &mut ExpressionKindTracker,
) -> Result<Handle<Constant>, PipelineConstantError>
Expand description
Add a Constant
to module
for the override old_h
.
Add the new Constant
to override_map
and adjusted_constant_initializers
.