AGC: image-table test passes with invalid linear filtering of R32_UINT #7699
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Amoenus on 2026-10-19T01:11:32Z.
Recheck, 2026-10-19
Still present on unmodified main
97d5d7a52aedb162c17ff48c13553af25a9d7ba1: three fresh runs on each of the RTX 5080 and Radeon Graphics pass behaviorally but each logs onemagFilter-04553error. Our refreshed Sonic integration has the same six errors, not additional ones.#7707 by milescoviello resolves this validation case in our current-main composition: its corrected test assertion fails on main in 3/3 runs per GPU; applying the implementation produces 3/3 passing image-table tests per GPU with zero VUID/errors/warnings. The related cache-bounds/prepared-graphics tests also pass on both GPUs, plus three CPU shader-memory checks: 21 passing executions total. Full default and explicit runtime builds pass. This validates composition
567c7ecc3945e6df652ed3b85e83a15200cecd76, using PR head193c540162683175b74a1e8963a5b85f29d58096on main97d; it is not an unchanged-old-head test or a new Sonic run. AMD's wave32-only per-wave-key subcases remain skipped on subgroup64, as on main. Current main advanced tof6eeca4f5fafterward; that newer composition was not tested here.Environment and reproduction settings remain those below. The correction is tracked in the existing PR; this issue stays open pending its merge. AI-assisted validation: Codex.
Reproduction on unmodified main
At
0c25997a5a, a clean full Windowsrelinker/libsbuild plusagc_driver_image_table_testssucceeds.agc_driver_image_tablethen returns success in 3/3 runs on each physical GPU, but Khronos validation reports one error per process, six errors total:The descriptor handles are omitted above; the identifier, binding, sampler settings and format are unchanged. No other validation error, warning, whole-test skip or timeout appeared. Device identities and Khronos insertion were verified from each process's loader output. The behavioral exit code alone therefore does not establish valid Vulkan usage.
How to reproduce
Use the repository's full Windows build/toolchain, with
BUILD_TESTING=ON, and Khronos validation available:Repeat with
ANYPS5_GPU=AMD Radeon(TM) Graphics. Other inheritedANYPS5_*,APS5_*andVK_*overrides were cleared before these runs. Project shader cache was disabled; driver caches were uncontrolled.magFilter-04553magFilter-04553Windows 11 Enterprise 26200; WinLibs GCC 15.2 r7; Vulkan validation 1.4.363. Each test process had a 30-second bound.
Existing context and scope
The integer/linear-sampler problem and a point-copy correction were discussed in merged #757: original report, author's correction and sampler-word checks. The current fixture retains its uint-through-linear-sampler check. These links are context; this report does not establish which current subcase or production path causes the remaining invalid pairing, or that #6417 caused it.
Found while checking our Sonic bring-up composition, then independently reproduced on unmodified main without our fork fixes. No Sonic reproduction, game blocker, wrong texel result, performance claim or proposed semantic fallback is asserted. The actionable gap is valid sampler/image pairing in the existing regression test; an implementation correction should preserve the intended direct/table integer behavior and existing refusal rules.
Searched open/closed issues and PRs for the exact VUID,
magFilter, image-table filtering and integer/linear pairing; found the historical #757 discussion but no current issue for this validation result. Original full logs and matching build/test receipts are preserved locally. AI-assisted investigation/report: Codex; author responsible.Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-19T02:00:48Z.
@Amoenus thanks for the report. #7707 fixes it. Under the validation layer on Linux (NVIDIA and lavapipe), the error comes from the test's direct-binding control,
RunDirect(device, LinearWrap, uintImage).Direct bindings point-filter the sampler for signed integer, converted and depth views only (
samplerModeinDescriptorBindingBuilder.cpp). Unsigned integer views kept the guest's linear filter. Image table entries already point-filter both integer classes, and #757 had made the direct path do the same.#7707 adds the unsigned class to the direct rule, and the test's control now expects
PointWrapfor the directuintbinding. With it there's nomagFilter-04553on either device, and withmain's rule the updated test fails.AI-assisted: yes (Claude Code)