linux CI + NVIDIA: agc_driver_emulated_color_compare fails on main since #3438 (8-bit sRGB compare refused on the decode path) #3526
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 orishamir on 2026-10-11T12:25:02Z.
agc_driver_emulated_color_comparefails onmainsince #3438 (merged 11:43Z), @ivica00, in CI's linux job and on NVIDIA:daa13905c: fails at the first8 srgbrow (noformat=128texture is created before the refusal). The windows job skips the test (no GPU).main8b679d8d: 3 full suites + 3 isolated runs fail; it passed here on0f863c10, before #3438. The RTX 4080 reports no format features forVK_FORMAT_R8G8_SRGB(R8_SRGBandR8G8_UNORMare sampled; vulkaninfo JSON), so here the8 srgbrows pass and the refusal comes at the first8_8 srgbrow: with onlyEmulatedColorCompare.cpp:355-356removed the test passes 3/3, restored it fails again. WithAPS5_SRGB_SHADER_DECODE=1the refusal moves to the first8 srgbrow, as on lavapipe.Mechanism:
SrgbDecodeFormats(Graphics/src/TextureFormat.cpp:116) puts an 8-bit sRGB format the device cannot sample on the shader-decode path, and the compare, a sampler op, is refused atResourceMaterializer.cpp:196, before theReferenceZeroselect from #3438 is emitted. It is the refusalRequireRefusedinImageSrgbLoad.cppexpects for sample/gather on that path.Whether the test should expect the refusal where the device decodes the format, or the constant-zero compare should not need the decode path, is your call.
AI-assisted: yes (Claude Code Opus 5.5 xhigh)
Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-11T13:33:06Z.
Additional RTX5080 Windows reproduction on a11-based integration (2026-10-11)
Reproduced
agc_driver_emulated_color_comparefailing with the same refusal on Windows11 Enterprise26200 / RTX5080 (driver32.0.16.1062), WinLibs GCC15.2r7, Release/BUILD_TESTING=ON. Exact integration f7a2bf691 is based on maina11c8f7f and carries kernel/math/D64 and sampled-MSAA proposals; not unchanged main. Full build/all122 libraries pass. Full CTest:835pass,5skip,2fail of842; this is one of the two failures. A following serial isolated recheck reproduces it on the first run (not a GPU timeout).The runs also set ANYPS5_REQUIRE_MSAA_ALL=1 for the integration's MSAA tests. I have not measured the RTX5080 format-feature table, isolated the failing matrix row, bisected #3438, or validated #3532/#3540. This confirms a matching refusal on another NVIDIA host, not an independent root-cause or fix claim. Logs/XML are retained outside the repository. No duplicate issue or PR. AI-assisted validation/reporting: Codex.