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:
jyvikoandClaude Opus 5.5 authored and Irakli Kourtis committed 2026-10-15 20:19:00 -04:00
1 parent 575ae10dbf
commit 248e74ca9e
12 files changed
+1079 -540

No files matched your search

Generated
+12
View File
@@ -1367,6 +1367,17 @@ dependencies = [
"zip 9.0.3",
]
[[package]]
name = "fieldcraft-gpu"
version = "0.6.0"
dependencies = [
"fieldcraft-render",
"log",
"pollster 0.4.0",
"thiserror 2.0.21",
"wgpu",
]
[[package]]
name = "fieldcraft-io"
version = "0.6.0"
@@ -1473,6 +1484,7 @@ dependencies = [
"fieldcraft-engine",
"fieldcraft-explicit",
"fieldcraft-geometry",
"fieldcraft-gpu",
"fieldcraft-model",
"fieldcraft-render",
"fieldcraft-update",