feat(gfx): CLI gfx oracle reports per-object slots
Dumps vm.Gfx object->slot assignments after a scene run. Confirms 0x215 now returns distinct slots (SC0000: 8 objects, slots 4-11) — but also reveals the CG geometry (dst) is still drifted, driving the Phase 4 investigation. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -81,6 +81,9 @@ if (args[0] == "gfx")
|
|||||||
vm.Run();
|
vm.Run();
|
||||||
Console.WriteLine($"{sceneName}: {host.Events.Count} texture ops (halt: {vm.HaltReason})");
|
Console.WriteLine($"{sceneName}: {host.Events.Count} texture ops (halt: {vm.HaltReason})");
|
||||||
foreach (var line in host.Events) Console.WriteLine(" " + line);
|
foreach (var line in host.Events) Console.WriteLine(" " + line);
|
||||||
|
var gfxObjs = vm.Gfx.Objects.OrderBy(o => o.Slot).ToList();
|
||||||
|
Console.WriteLine($" gfx objects: {gfxObjs.Count} -> " +
|
||||||
|
string.Join(", ", gfxObjs.Select(o => $"0x{o.Handle:x}=slot{o.Slot}")));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user