Retire EngineDLL; the shader compiler as a library #38

Open
UnflavoredMeson/Primal_Plus_Plus
opened 2026-11-24 20:15:59 +00:00 by UnflavoredMeson · 0 comments
Owner

Why

EngineDLL was the WPF editor's C API. With the WPF editor frozen and the C++ editor linking the engine directly, only its shader compilation and hot reload are still used.

Decided

  • Shader compilation and hot reload become a library (ShaderCompiler) that the tools, EngineTest and the editor link.
  • EngineDLL/ is deleted.

Read first

  • EngineDLL/ on master.

Steps

  • 1. Move ShaderCompilation.* and the hot reload into the library.
  • 2. Point every user at it and delete EngineDLL/.

Done when

  • Nothing builds EngineDLL; all tests pass; 0 warnings; tidy 0.

Claude can help with

  • Finding every user of the old exports.

Learn

  • What a C ABI boundary bought the C# editor and what it cost.
## Why EngineDLL was the WPF editor's C API. With the WPF editor frozen and the C++ editor linking the engine directly, only its shader compilation and hot reload are still used. ## Decided - Shader compilation and hot reload become a library (`ShaderCompiler`) that the tools, EngineTest and the editor link. - `EngineDLL/` is deleted. ## Read first - `EngineDLL/` on `master`. ## Steps - [ ] 1. Move `ShaderCompilation.*` and the hot reload into the library. - [ ] 2. Point every user at it and delete `EngineDLL/`. ## Done when - [ ] Nothing builds `EngineDLL`; all tests pass; 0 warnings; tidy 0. ## Claude can help with - Finding every user of the old exports. ## Learn - What a C ABI boundary bought the C# editor and what it cost.
Sign in to join this conversation.
No assignees
No project
No milestone
Blocks Depends on
#27 Shader hot reload
UnflavoredMeson/Primal_Plus_Plus
Notifications
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
UnflavoredMeson/Primal_Plus_Plus#38
No description provided.