MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / explicit_after_hint_orders_nodes

Function explicit_after_hint_orders_nodes

native/shared/src/renderer/graph.rs:313–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311
312 #[test]
313 fn explicit_after_hint_orders_nodes() {
314 let mut graph = Graph::new();
315 graph.push(PassNode::new("later", record("later"))
316 .with_after(&["earlier"]));
317 graph.push(PassNode::new("earlier", record("earlier")));
318 let mut ctx = Vec::new();
319 graph.execute(&mut ctx).unwrap();
320 assert_eq!(ctx, vec!["earlier", "later"]);
321 }
322
323 #[test]
324 fn explicit_before_hint_orders_nodes() {

Callers

nothing calls this directly

Calls 4

recordFunction · 0.85
with_afterMethod · 0.80
executeMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected