Skip to content

test(agc): expect one resolution for a CPU write beside an image table on Windows too - #7724

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
karimibrahim07:fix/agc-image-table-reuse-windows
Oct 19, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
karimibrahim07:fix/agc-image-table-reuse-windows

Conversation

@karimibrahim07

Copy link
Copy Markdown
Contributor

What

agc_driver_image_table_reuse fails on Windows on main:

AGC graphics: image table reuse: a CPU write collected in a new epoch, then two dispatches: 2 reused and 1 resolved tables, expected 1 and 2

The test expected one more table resolution on Windows than on Linux (CpuWriteResolutions = 2 under #ifdef _WIN32). That extra resolution came from a CPU write elsewhere in the table's 64 KiB block failing the block-wide unchanged proof on Windows. Since #6346 the proof is answered per page, so the write beside the table no longer fails it on Windows either, and the count is the Linux one. #7710 has the bisect to the #6346 merge.

The test now expects one resolution on every host. Only the test changes. The Windows CI job builds three execution tests (ANYPS5_AGC_EXECUTION_TESTS), and this isn't one of them, so CI didn't catch it.

#6273 makes the same one-line change as part of a larger performance change, and it conflicts with main now. The two hunks are identical, so this merges with #6273 in either order. ImageTableReuse.cpp also auto-merges with #6340 and #6937.

Tested

Windows 11 Pro (26300), Ryzen 5 3600, NVIDIA GeForce RTX 3060 (driver 610.88), WinLibs GCC 15.2.0 r7, Ninja Release, BUILD_TESTING=ON, ANYPS5_AGC_EXECUTION_TESTS with ImageTableReuse added. Based on main ccbd40240.

Checklist

…e on Windows too

Since boykopovar#6346 a CPU write elsewhere in an image table's 64 KiB block no
longer fails the table's unchanged proof on Windows, because the proof
is answered per page there too. The Windows-only expectation of a second
resolution is stale and agc_driver_image_table_reuse fails on Windows.
Expect the Linux count on every host.
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 6223 core/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cpp
PR 6340 core/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cpp
PR 6937 core/libs/prx/libSceAgcDriver/tests/execution/ImageTableReuse.cpp

@oneandonlydean oneandonlydean self-assigned this Oct 19, 2026
@github-actions github-actions Bot added the agc libSceAgc* label Oct 19, 2026
@oneandonlydean
oneandonlydean merged commit c815dd2 into boykopovar:main Oct 19, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agc_driver_image_table_reuse fails on Windows since #6346: the Windows-only CpuWriteResolutions is stale

2 participants