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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user