Commit 51ccf9d
authored
Refactor
Refactor the monolithic validate() into smaller methods:
- loadOptions(): parse test suite options and check target
- collectTestFiles(): gather .mtlx files with override filtering
- loadDependentLibraries(): load library dependencies once
- initializeGeneratorContext(): set up renderer, CMS, units, GenContext
- loadAndValidateDocument(): per-file load, validate, find renderables
Add helper service classes for instrumentation:
- TestRunLogger: file logging and stream management
- TestRunProfiler: manages profiling timers and summary output
- TestRunTracer: wraps Perfetto tracing behind pimpl (conditional build)ShaderRenderTester::validate (#2825)1 parent b05f0b3 commit 51ccf9d
2 files changed
Lines changed: 452 additions & 285 deletions
0 commit comments