Add shader validation automation hook

This commit is contained in:
2026-06-01 07:55:39 +02:00
parent 3d80791245
commit f9e4bcaeea
6 changed files with 132 additions and 8 deletions

View File

@@ -188,9 +188,10 @@ Gate:
Goal: turn the build into an error-finding system before deep refactors.
Status: in progress. Initial warning/sanitizer option targets and `vcpkg.json`
exist. Dependency migration is not complete until component targets consume
vcpkg packages and platform triplets are validated.
Status: in progress. Initial warning/sanitizer option targets, `vcpkg.json`,
and a headless `panopainter_validate_shaders` target exist. Dependency
migration is not complete until component targets consume vcpkg packages and
platform triplets are validated.
Implementation tasks:
@@ -524,6 +525,8 @@ cmake --build --preset windows-msvc-default --config Debug --target pp_foundatio
ctest --preset desktop-fast --build-config Debug
powershell -ExecutionPolicy Bypass -File scripts\automation\test.ps1 -Preset desktop-fast -Configuration Debug
powershell -ExecutionPolicy Bypass -File scripts\automation\build.ps1 -Preset windows-msvc-default -Configuration Debug -Target pano_cli
cmake --build --preset windows-msvc-default --target panopainter_validate_shaders
powershell -ExecutionPolicy Bypass -File scripts\automation\analyze.ps1 -Preset windows-msvc-default -NoApp
cmake --preset android-arm64
powershell -ExecutionPolicy Bypass -File scripts\automation\platform-build.ps1 -Presets android-arm64
powershell -ExecutionPolicy Bypass -File scripts\automation\package-smoke.ps1 -Preset windows-msvc-default -Configuration Debug
@@ -546,6 +549,10 @@ Results:
- `pano_cli_inspect_image_rejects_unsupported` passed as an expected failure
test.
- `pano_cli_parse_layout_smoke` passed.
- `panopainter_validate_shaders` passed, validating 25 shader programs and 7
shader includes for stage markers and include graph integrity.
- PowerShell analyze automation returns JSON summaries and includes the shader
validation target.
- `PanoPainter.exe` built through CMake at
`out/build/windows-msvc-default/Debug/PanoPainter.exe`.
- PowerShell build/test automation wrappers return JSON summaries and passed