forked from 1b-agent/fieldcraft-upstream
gpu: the viewport's pipelines move to a crate of their own (fieldcraft-gpu)
ui-egui keeps only the egui_wgpu paint callback; the shaders, batching and pipelines are fieldcraft-gpu's view module, so an offscreen picture can draw with the window's pipelines. Refs #422 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
575ae10dbf
commit
248e74ca9e
12 files changed
+1079
-540
No files matched your search
+5
-1
@@ -56,6 +56,7 @@ pub const TABLE: &[(&str, Class)] = &[
|
||||
("doc", Class::Layer(4)),
|
||||
("io", Class::Layer(5)),
|
||||
("engine", Class::Layer(6)),
|
||||
("gpu", Class::Layer(7)),
|
||||
("ui-egui", Class::Layer(7)),
|
||||
("mcp", Class::Layer(7)),
|
||||
("testkit", Class::Testkit),
|
||||
@@ -67,7 +68,10 @@ pub const TABLE: &[(&str, Class)] = &[
|
||||
];
|
||||
|
||||
/// Explicit orderings *within* a layer (earlier may be used by later).
|
||||
pub const INTRA_LAYER_ORDER: &[&[&str]] = &[];
|
||||
pub const INTRA_LAYER_ORDER: &[&[&str]] = &[
|
||||
// The window draws through the GPU crate's pipelines.
|
||||
&["gpu", "ui-egui"],
|
||||
];
|
||||
|
||||
fn intra_layer_allowed(from: &str, to: &str) -> bool {
|
||||
let (from, to) = (short_name(from), short_name(to));
|
||||
|
||||
Reference in new issue
Block a user