Skip to main content

build_surface_staged

Function build_surface_staged 

Source
pub fn build_surface_staged(
    compiler: &ContextCompiler<'_>,
    request: SurfaceRequest<'_>,
    stages: &SurfacePipelineStages,
) -> SurfaceRenderResult
Expand description

build_surface with stage toggles for the ablation matrix (benchmark ablations toggle stages here — they never reimplement ranking). lexical off skips PPR entirely and scores by lexical match; global_ppr off drops the global vector; task_ppr off seeds no task vector; mmr off skips diversification; quotas off skips per-kind caps; optimizer off renders in importance order up to the budget. Deterministic and no-panic.