Repository navigation
fix(agc): preserve requests when draw resource capture fails - #11
p3n1cillin wants to merge 1 commit into
Conversation
|
The integration game run at 38102bb exercised the new failure path successfully. It retained a fragment-stage request with 612 code words, 32 user-data words, two linked programs and four captured memory regions. Offline replay with the current integration tool reproduces the same image-interface error at firstUsePc 760. The original presentation failure and SIGABRT were preserved, and the monitor stopped the exact game process. No game capture or shader content is included here. The failing access is full-DMASK, 32-bit Both diagnostic runs ended before a completed presentation; no gameplay or FPS result is available. All runtime processes from these runs have ended. The recorded heap-capacity registration warnings also existed before #10; old logs show the same programs exceeding the four-descriptor storage heap. |
What
When
ShaderMemory::Capturefails during a draw stage, the existing path throws before retaining its read regions or dumping the stage request. The presentation failure lacks the shader address, andAPS5_DUMP_SHADERSdoes not preserve the request needed for offline reproduction.On an opt-in failed capture, serialize a copied graphics request with the memory regions read so far and log its shader address, stage, region count and request filename. Keep the region vector alive through serialization. Dump failures are reported and the original exception is rethrown; execution behavior and successful captures are unchanged.
Tested
Windows 11, GCC 15.2, Release Ninja, RTX 5070/NVIDIA 617.42:
agc_driver,agc_shader_memory,agc_shader_disk_cache,agc_driver_graphics: 4/4 passed, 8.54s.tools/check_conventions.py --base origin/mainpassed.This is a diagnostic follow-up to the graphics failure reached after #10. The diagnostic patch itself is based on current main d70b899 and has no dependency on that shader change. AI-assisted: yes.
Checklist