Add editor shader compilation bridge & pipeline cache mgmt

Introduced EditorShaderCompilerBridge and IShaderCompilationBridge for async shader variant compilation and cache invalidation in the editor. Refactored ShaderLibrary to support the bridge, updating hash/caching logic and triggering compilation on cache misses. Changed pipeline library to use ulong content hashes and added stale pipeline eviction. Updated EngineCore and render code to integrate the new system. Added unit tests for ShaderLibrary cache and bridge behavior. Minor improvements to shader property code generation and test generator.
This commit is contained in:
2026-05-08 17:06:37 +09:00
parent ba8694ed0c
commit d0076c852f
15 changed files with 583 additions and 49 deletions

View File

@@ -90,7 +90,7 @@ namespace Ghost.Generator
isEnabledByDefault: true), info.TypeSymbol.Locations.FirstOrDefault()));
continue;
}
var definedSymbol = $"__{info.Name.ToUpper()}_G_HLSL";
var fieldsBuilder = new StringBuilder();