test(agc): fix and re-enable 3 of 8 bitrotted AGC driver tests #23
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by obelisk-complex on 2026-09-26T21:18:14Z.
Closes #22 (partially: fixes and registers 3 of the 8 named there;
agc_driver_bda_device_testsis deliberately left out, see below; the remaining 2 are root-caused but not fixed, see below).Depends on #14.
agc_driver_tests,agc_shader_memory_tests,agc_driver_flip_testsandagc_driver_pm4_testsalready passed, but throw C++ exceptions on paths that hit the same libstdc++ ABI interposition bug #14 fixes when run in isolation onmain(confirmed withgdb); they only pass once #14 merges.agc_driver_bda_device_testsis not touched or registered by this PR. It needs both #14 (same exception-ABI dependency) and the stale-assertion fix already proposed in open PR #20 - not duplicating that fix here; see the comment left on #20 with the additional Linux-specific finding.Changes
agc_driver_graphics_tests: fixed the link failure by adding the three missing source files and linkingshader_recompiler_agc_driver. Still fails at runtime against stale assertions accumulated over many commits of not being built (an expected "not implemented" message that texture support since removed, and a sampler test fixture value that no longer fits its 12-bit field). LeftEXCLUDE_FROM_ALL; fixing the assertions is a separate pass across the whole 1150-line test file, not a build fix.agc_driver_recompiler_tests: root-caused but not fixed. It needsCOMPUTE_NUM_THREAD_Xset, and its pass condition checks for a "not implemented" stub error that no longer exists now that the real recompiler is in. Restoring its original intent needs a shader deliberately built to fail recompilation, which is a design decision, not something this PR should decide unilaterally. LeftEXCLUDE_FROM_ALL.agc_driver_tests,agc_shader_memory_tests,agc_driver_flip_testsandagc_driver_pm4_testsalready passed; registered them withadd_testso none of the four can bitrot silently again.Testing (Linux, GCC)
ctestonmainalone: 23/34 (7 pre-existing failures plus the 4 newly-registered tests, which fail until #14 merges, per the dependency above). Stacked on #14: 34/34.agc_driver_graphics_testsandagc_driver_recompiler_testsintentionally left out of this count; both still fail and remainEXCLUDE_FROM_ALL, per the issue.🤖 Generated with Claude Code