Repository navigation
fix(agc): name the shader address and stage in preparation failures - #3946
Conversation
|
The wrapper cuts the reason at its first newline ( Two smaller things in the same function:
|
ee0200a to
05a362d
Compare
|
Updated 05a362d and rebased onto main 6253883 addressing all three points:
Local conventions pass, git diff --check is clean, and 9/9 agc_driver_prepared_shaders* execution tests pass with ANYPS5_REQUIRE_VULKAN=1. |
FailureCapture now requires the code address and stage in the diagnosed failure, with and without the request dump. Fails before the wrap, passes after. AI-assisted: yes.
PrepareShaderWithDiagnostics dumped the request but rethrew the raw error, so a failure never said which shader it came from. Wrap it with the shader address and stage, keeping the dump. AI-assisted: yes.
Capture the request once before rethrowing from the shared handler. Standard exceptions keep the shader address, stage, optional dump filename and full message; non-standard exceptions remain unchanged after capture. AI-assisted: yes.
05a362d to
56df893
Compare
|
Dean's requested diagnostics are preserved: standard exceptions keep the full original message with the shader address and stage, and request dumping is attempted without swallowing non-standard exceptions. The file-level merge with #4152 is clean; its pipeline-library change is separate. Current head is |
What
Replaces #2867, which the intake bot closed and GitHub now refuses to reopen.
Astro Bot (PPSA01284) was reported in #2062 with this failure:
That message does not identify the shader address or stage.
PrepareShaderWithDiagnosticsadds a dynamic address/stage prefix and, when request capture succeeds, the dump filename to standard exceptions while preserving the complete message. It attempts the dump for non-standard exceptions too and rethrows those unchanged, even if dumping fails. This does not implements_swappc_b64or claim gameplay progress.#4152 also edits this wrapper for pipeline-library registration. A file-level three-way merge using GitHub's actual merge base (
bca7a29d259299aaa8972c94d12694232bb3bb08), #4152 head14b52c1ac38d2f9c254299189e0bccba26bed752, and this commit's source is clean. The combined branches were not built or run together.Tested
56df893667a484c8e2e4057871f55804fca30f9f, rebased onto captured main2da042eee09fc3b3341fecfbeb33c9112d8591eb.0f24caf42b0f88f75b256ed12264616b727013d5,agc_driver_prepared_shaders_testsbuilt with-j1; all 9agc_driver_prepared_shaders*CTests passed withANYPS5_REQUIRE_VULKAN=1and--timeout 30. The final HEAD'sShaderRegistry.cpphas the same blob (e31f423ba947a05a3bc96cc7b50a65515a51724f). After rebase, an incremental target build was attempted with-j1and stopped at Ninja action 50/123 when free RAM fell to 1,848,635,392 bytes, below the 2-GiB floor. No compile error preceded the guard; the target did not finish, so CTest was not rerun on the rebased HEAD.-std=c++23 -Wall -Wextra -Werrorand passed multiline-error, 324-character dump-path, non-standard exception, and dump-failure checks. Its extracted function exactly matches the final source (SHA-256ebd61616bdae2957d772f20c25f1813b22b6ef48b21ac83ba88ee47725697fdf).python tools/check_conventions.py --base 2da042eee09fc3b3341fecfbeb33c9112d8591ebandgit diff --check 2da042eee09fc3b3341fecfbeb33c9112d8591eb..HEADpass.BUILD_TESTING=ON,ANYPS5_RELINKER_ONLY=OFF,ANYPS5_ENABLE_SPIRV_TOOLS=OFF) stopped at Ninja action 784/2423 when free RAM reached 2,120,896,512 bytes, below the 2-GiB floor. No compiler/dependency error preceded the guard; full build is incomplete and was not restarted. The fresh focused build also emitted only CMake glob/deprecation notices before the RAM guard. Logs: full buildC:/Users/admin/AppData/Local/Temp/opencode/anyps5-3946-fullbuild-20261012-011324.stdout.logand.stderr.log; focused buildC:/Users/admin/AppData/Local/Temp/opencode/anyps5-3946-focused-build-20261012-014526.stdout.logand.stderr.log.Checklist
mainas captured when rebased onto2da042eee09fc3b3341fecfbeb33c9112d8591ebat2026-10-12T01:33:37-03:00; no other open PR implements the same functions. A later live-main query returnede013f8c9c565e4a28be16268c93ec36c64baa34b; no further rebase was performed. perf(agc): build shader pipeline libraries when shaders are registered #4152 edits the wrapper for separate pipeline-library behavior, not these diagnostics.NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)