Replace fixed placement hooks with a module-owned stage graph

Modules now define every stage themselves through IrisModule.install(StageGraph):
typed stage constants, hard requires(...) on other modules' constants, soft
ordering by id, when(...) activation and typed outputs. Placement and chunk
generation resolve on the same machinery; adjacent per-block stages fuse into
one block pass.

The host-defined PlacementModifier hooks, string Dependencies, GenerationPlan,
PlacementPipeline, DependencyOrder and OccurrenceOrder are removed.
This commit is contained in:
piexel committed 2026-10-05 17:23:31 +02:00
1 parent 9043d93fbd
commit eeb5486098
76 files changed
+2717 -1567

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
package com.volmit;
import com.volmit.resource.ResourceId;
import java.util.Objects;
/** Module identity. Stages a module defines must use the namespace of its id. */
public record ModuleInfo(ResourceId id, String version) {
public ModuleInfo {
Objects.requireNonNull(id, "id");
Objects.requireNonNull(version, "version");
if (version.isBlank()) {
throw new IllegalArgumentException("Blank module version: " + id);
}
}
public static ModuleInfo of(String id, String version) {
return new ModuleInfo(ResourceId.parse(id), version);
}
}