Bug: shader rework broke prelude shaders #780

Merged
SakulFlee merged 30 commits from bug-shader-rework-broke-prelude into main 2026-09-11 20:15:14 +00:00
Owner
No description provided.
All 35 nodes in the prelude are also defined in the math and engine
libraries, causing ConflictingNodeName panics at registration time
because the WGSL source differs due to whitespace.
Start the global NodeRegistry empty instead of preloading the prelude.
Libraries (math, engine, PBR, world-environment) are registered via
register_global_library at engine startup.
Update test to reflect empty global registry
Some checks failed
CI / lint (pull_request) Failing after 22s
CI / test (pull_request) Has been skipped
0c2609672f
The global_registry_contains_prelude test asserted prelude nodes existed.
Replace with global_registry_starts_empty since the prelude was removed.
Merge branch 'main' into bug-shader-rework-broke-prelude
Some checks failed
CI / lint (pull_request) Failing after 6m4s
CI / test (pull_request) Has been skipped
35efa87e6b
Merge branch 'main' into bug-shader-rework-broke-prelude
Some checks failed
PR / test (pull_request) Failing after 41m35s
99f41ade41
The global registry is now empty after prelude removal. Update test
helpers to register math, engine, and world-environment libraries
directly instead of relying on the global registry.
Update Cargo.lock
All checks were successful
PR / test (pull_request) Successful in 40m46s
a480e03502
Merge branch 'main' into bug-shader-rework-broke-prelude
Some checks failed
PR / lint (pull_request) Failing after 3m35s
PR / test (pull_request) Has been skipped
217b84a601
Format fix
All checks were successful
PR / lint (pull_request) Successful in 6m50s
PR / test (pull_request) Successful in 40m38s
cffe710066
Sign in to join this conversation.
No description provided.