Repository navigation
test(agc): remove ambiguous 1D V wrap expectation - #3490
Conversation
|
Checked on the PR merged onto current main: |
|
I compared your #3490 approach with an alternative fixture I've tested locally. My concern with clamping V and sampling U at texel centers is that the test may no longer detect point filtering or the omitted-coordinate wrap behavior that #1416 originally added coverage for. I tried changing the blue-channel row markers to At V=0, rows 15 and 0 have values 240 and 0, producing an expected boundary blend of 120 rather than the original half-integer 7.5. This passes on llvmpipe. I also verified with temporary mutations that V=0.5, point filtering, and clamp addressing fail the test. I haven't validated other Vulkan drivers, so I'm not claiming the approach is universally portable. Would it make sense to incorporate this fixture into #3490 to preserve the original regression coverage? |
What
core/libs/prx/libSceAgcDriver/tests/execution/ImageAddressDimension.cpp:245on currentmainexpects a 7.5 value from a bilinear sample with the V coordinate at exactly 0 and repeat addressing. That puts the sample halfway between the last and first rows. The Linux CI lavapipe run reports 8.0, while the issue reports other llvmpipe builds selecting the opposite row.The test covers a 1D image sample backed by a 2D texture. It now clamps the unused V axis to the edge and checks the first row, keeping the sample independent of how a driver resolves the exact repeat boundary. The U coordinates remain at texel centers.
Closes #3460.
Tested
Linux, GCC 12.2 Release: built
agc_driver_image_address_dimension_tests. The unchanged test failed on currentmainwithcomponent 2 is 8.000000, expected 7.500000; the updatedagc_driver_image_address_dimensiontest passed three consecutive runs on llvmpipe.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkpassed. Windows and PS5 hardware not tested.Checklist
main(0f863c102207dae4b77b1a2bad16c3aedec34691); no other open PR implements this test correctionNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository