naga::back::pipeline_constants

Function map_value_to_literal

source
fn map_value_to_literal(
    value: f64,
    scalar: Scalar,
) -> Result<Literal, PipelineConstantError>