fix(agc): keep the old settle floor in agc_driver_linear_target_import_creation #26662
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/26662"
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 oneandonlydean on 2026-11-24T13:59:30Z.
What
agc_driver_linear_target_import_creationfails every run on Windows withprivate gate: a color target's import of direct memory under the settle floor was made where it would be compared.Cause
The private gate imports a colour target inside a 512 KiB block (
ResidentBytes / 4) and requires that none is made. Since #10443 the settle floor is 64 KiB plus one byte instead of 1 MiB, so 512 KiB now sits above the floor and the import settles at the import and is made. #10443 pinnedAPS5_SETTLE_FLOOR_KIB=1024for the threeagc_import_settle_*tests but not this one.Change
Pin
APS5_SETTLE_FLOOR_KIB=1024for this test, the same way those tests do. The gate keeps checking what it was written for. Moving the target under the new floor instead would also work; this keeps the test's block size and the gate's meaning unchanged.Test
Test registration only. On Linux,
ctest -N -Vshows the variable on the test. The failure is Windows-only, so Plyxen's run on Windows is the check (the report shows the test passing with this variable set on both Radeon and RTX 5080).Fixes #26650
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by Plyxen on 2026-11-24T15:44:12Z.
Review: COMMENTED
Windows run on the two GPUs of the report in #26650, AMD included: the test fails on
mainand passes with this head. One thing to fix before it can go through the queue: the conventions check fails on this head.Setup: Windows 11 Pro 10.0.26200, WinLibs GCC 15.2.0 r7, Release.
main66328cd1ff, and this head8ee154d051merged onto it with--no-ff(a2ac9487ba, clean).ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation(1.4.363),VK_LOADER_DEBUG=layer,ctest -R '^agc_driver_linear_target_import_creation$' -V, 3 runs per side and GPU.main66328cd1ffprivate gate: ... was made where it would be comparedwas not found but was requested, and there is noVUID-line on either side.ctest --show-only=json-v1gives the testANYPS5_NO_SHADER_CACHE=1; APS5_NO_PIPELINE_JOURNAL=1onmainand addsAPS5_SETTLE_FLOOR_KIB=1024with this head, soAPPENDkeeps the two it already had.Conventions. The
conventionsjob fails on8ee154d051with five findings:agc_driver_linear_target_import_creation_tests.cmake:1and:2: the two comment lines (Comments are only for technical debt ...).python3 tools/check_conventions.py --base upstream/main --head 8ee154d051reports the same two locally. None of the other fragments intests/cmake/has a comment, and the description already says why the floor is pinned.### Whatis## What, and the### Testedand### Checklistheadings of the template are missing.Not run: Linux, where the description says the failure does not occur, and any other test.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T13:03:53Z.
Review: COMMENTED
Reviewed — no blocking findings
The change sets the requested settle-floor environment variable on the existing test; I did not run configuration or test commands.
What I ran
Reviewed head
f4098ac3d729f0d79dea2467499f711b6484858b. No commands were run. Read the PR description, commit list, diff, manifest, and the full changed CMake file, plus the related settle-floor registrations inagc_driver_recorder_tests.cmake. No files were excluded by the manifest.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
CMake configuration, test registration output, and Windows execution were not run or confirmed. The author reports registration output and Windows test results in the PR description; these were not independently verified. No negative control was run.
To get this to a good state
Nothing is required.
Pull request closed