AGC (NVIDIA RTX 4070 SUPER, Windows): image_sample_l 1D mip blend and image_sample_d_cl MIN_LOD clamp fail in three agc_driver tests #23232

Closed
opened 2026-11-18 20:40:13 +00:00 by HistoryTeacher69 · 0 comments
HistoryTeacher69 commented 2026-11-18 20:40:13 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by HistoryTeacher69 on 2026-11-18T20:40:13Z.


What happens

Three AGC image sampling tests fail on an NVIDIA RTX 4070 SUPER on Windows. Each test fails the same way on every run.

  • agc_driver_image_plane_address_on_line: image_sample_l on a 1D texture with linear filtering and linear mips blends the levels to 67.50 where 60 is expected.
  • agc_driver_image_sample_lod_clamp and agc_driver_image_sample_lod_clamp_shader_lane: image_sample_d_cl with T# MIN_LOD 256 over BASE_LEVEL 1 returns 2 where 1 is expected.

Title, test or build step

ctest agc_driver_image_plane_address_on_line, agc_driver_image_sample_lod_clamp, agc_driver_image_sample_lod_clamp_shader_lane.

AnyPS5 commit

main 245210b07e.

System

Windows 11 Pro 10.0.26300, Intel Core i9-13900K, NVIDIA GeForce RTX 4070 SUPER (vendor 0x10de, device 0x2783, driver 621.24, Vulkan API 1.4.357). The test selects the NVIDIA device; the machine also has an Intel UHD Graphics 770. WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh), CMake 4.4.4, Ninja, Release.

Steps to reproduce

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_TESTING=ON
cmake --build build --parallel
ctest --test-dir build -R "^agc_driver_(image_plane_address_on_line|image_sample_lod_clamp|image_sample_lod_clamp_shader_lane)$" --output-on-failure

Log

AGC graphics: image_sample_l 2d on a 1D texture with linear filtering, linear mips, clamp to edge, u -0.200000, v 0.250000, LOD 1.250000: thread 12 blends the levels to 67.501945, expected 60.000000
AGC graphics: image_sample_d_cl with T# MIN_LOD 256 over BASE_LEVEL 1 with S# MAX_LOD 4095, mip filter 1 and LOD bias -96: thread 2 component 0 is 2.000000, expected 1
AGC graphics: image_sample_d_cl with T# MIN_LOD 256 over BASE_LEVEL 1 with S# MAX_LOD 4095, mip filter 1 and LOD bias -96: thread 2 component 0 is 2.000000, expected 1

What was checked

  • I searched open and closed issues for the error text and found no report.
  • Open PRs #22750 and #22753 change image sampling but were not tested here.
  • The rest of the full ctest run on this machine (6266 tests) fails only on already-reported tests: #22358, #22427, #22930/#22931.
  • The Vulkan validation layer was not enabled for this run.
  • AI-assisted: yes.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6476277505 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/23232). Originally posted by [HistoryTeacher69](https://github.com/HistoryTeacher69) on 2026-11-18T20:40:13Z. --- ### What happens Three AGC image sampling tests fail on an NVIDIA RTX 4070 SUPER on Windows. Each test fails the same way on every run. - `agc_driver_image_plane_address_on_line`: `image_sample_l` on a 1D texture with linear filtering and linear mips blends the levels to 67.50 where 60 is expected. - `agc_driver_image_sample_lod_clamp` and `agc_driver_image_sample_lod_clamp_shader_lane`: `image_sample_d_cl` with T# MIN_LOD 256 over BASE_LEVEL 1 returns 2 where 1 is expected. ### Title, test or build step ctest `agc_driver_image_plane_address_on_line`, `agc_driver_image_sample_lod_clamp`, `agc_driver_image_sample_lod_clamp_shader_lane`. ### AnyPS5 commit `main` `245210b07e`. ### System Windows 11 Pro 10.0.26300, Intel Core i9-13900K, NVIDIA GeForce RTX 4070 SUPER (vendor 0x10de, device 0x2783, driver 621.24, Vulkan API 1.4.357). The test selects the NVIDIA device; the machine also has an Intel UHD Graphics 770. WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh), CMake 4.4.4, Ninja, Release. ### Steps to reproduce ``` cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_TESTING=ON cmake --build build --parallel ctest --test-dir build -R "^agc_driver_(image_plane_address_on_line|image_sample_lod_clamp|image_sample_lod_clamp_shader_lane)$" --output-on-failure ``` ### Log ``` AGC graphics: image_sample_l 2d on a 1D texture with linear filtering, linear mips, clamp to edge, u -0.200000, v 0.250000, LOD 1.250000: thread 12 blends the levels to 67.501945, expected 60.000000 AGC graphics: image_sample_d_cl with T# MIN_LOD 256 over BASE_LEVEL 1 with S# MAX_LOD 4095, mip filter 1 and LOD bias -96: thread 2 component 0 is 2.000000, expected 1 AGC graphics: image_sample_d_cl with T# MIN_LOD 256 over BASE_LEVEL 1 with S# MAX_LOD 4095, mip filter 1 and LOD bias -96: thread 2 component 0 is 2.000000, expected 1 ``` ### What was checked - I searched open and closed issues for the error text and found no report. - Open PRs #22750 and #22753 change image sampling but were not tested here. - The rest of the full ctest run on this machine (6266 tests) fails only on already-reported tests: #22358, #22427, #22930/#22931. - The Vulkan validation layer was not enabled for this run. - AI-assisted: yes.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#23232
No description provided.