AGC: agc_driver_sample_order_grid_reference on RX 9070 GRE (RDNA 4, Windows): the exact path loses odd-row depth, with or without APS5_NO_GPL #12277

Closed
opened 2026-10-28 06:52:06 +00:00 by CruddOCE · 0 comments
CruddOCE commented 2026-10-28 06:52:06 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by CruddOCE on 2026-10-28T06:52:06Z.


What happens

On an RX 9070 GRE, agc_driver_sample_order_grid_reference runs to the end without a device loss and fails with AGC graphics: the exact path did not render the checkerboard bit for bit like the reference. APS5_NO_GPL=1 and APS5_NO_PIPELINE_LTO=1 give the same result.

Title, test or build step

agc_driver_sample_order_grid_reference

AnyPS5 commit

main 0cd07dc4a, nothing merged on top.

System

Windows 11 Home 10.0.26200, Ryzen 5 7500X3D, AMD Radeon RX 9070 GRE (1002:7550, driver 32.0.32015.7029, Adrenalin 26.10.1), WinLibs GCC 15.2.0 r7, Release, -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON.

Steps to reproduce

$env:ANYPS5_GPU = "RX 9070"
$env:ANYPS5_REQUIRE_VULKAN = "1"
$env:ANYPS5_NO_SHADER_CACHE = "1"
ctest --test-dir build -R '^agc_driver_sample_order_grid_reference$' --output-on-failure

It stops after about 3 s.

Log

the composite of uniform renders: of 3005 sloped depth samples, 3005 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 1506 of 1506 on odd rows) and 0 at the standard 2x locations
the exact path: of 3547 sloped depth samples, 1499 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 0 of 2048 on odd rows) and 0 at the standard 2x locations
the device's 2x2 grid: of 3005 sloped depth samples, 3005 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 1506 of 1506 on odd rows) and 0 at the standard 2x locations
2x checkerboard at 64x32: the device's 2x2 grid differs from the composite of four uniform renders in 0 samples and from the exact path in 2450 samples
depth with the samples put in the guest's order: sample 0 of pixel (0, 1) is 0x00000000 0x00000000 0x00000000 0x00000000, the reference's is 0x3f700000 0x00000000 0x00000000 0x00000000
2x checkerboard at 64x32: the exact path differs from the reference in 402 color and 2048 depth samples; pixel (0,0)'s locations alone differ in 1552 samples
AGC graphics: the exact path did not render the checkerboard bit for bit like the reference

What was checked

RX 9070 GRE run Result
default fails 3 of 3
APS5_NO_GPL=1 fails 3 of 3
APS5_NO_PIPELINE_LTO=1 fails 3 of 3
  • The composite reference and the device's own 2x2 grid agree in every sample, so the device keeps depth at custom locations; only the exact path differs. None of its 2048 odd-row depth samples hold the slope's depth, and the ones printed read 0.
  • The iGPU of the same machine (Radeon(TM) Graphics, 1002:164e, 32.0.21045.16010) reproduces #9507 on the same build instead: vkQueueSubmit recorder: Vulkan result -4 3 of 3, and a pass 3 of 3 with APS5_NO_GPL=1.
  • Not bisected. The test last changed in 53949c077 (read the sample order tests' depth through a sampled copy).
  • The Khronos validation layer is not installed here.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6074107341 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/12277). Originally posted by [CruddOCE](https://github.com/CruddOCE) on 2026-10-28T06:52:06Z. --- ### What happens On an RX 9070 GRE, `agc_driver_sample_order_grid_reference` runs to the end without a device loss and fails with `AGC graphics: the exact path did not render the checkerboard bit for bit like the reference`. `APS5_NO_GPL=1` and `APS5_NO_PIPELINE_LTO=1` give the same result. ### Title, test or build step `agc_driver_sample_order_grid_reference` ### AnyPS5 commit `main` `0cd07dc4a`, nothing merged on top. ### System Windows 11 Home 10.0.26200, Ryzen 5 7500X3D, AMD Radeon RX 9070 GRE (`1002:7550`, driver 32.0.32015.7029, Adrenalin 26.10.1), WinLibs GCC 15.2.0 r7, Release, `-DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON`. ### Steps to reproduce ``` $env:ANYPS5_GPU = "RX 9070" $env:ANYPS5_REQUIRE_VULKAN = "1" $env:ANYPS5_NO_SHADER_CACHE = "1" ctest --test-dir build -R '^agc_driver_sample_order_grid_reference$' --output-on-failure ``` It stops after about 3 s. ### Log ``` the composite of uniform renders: of 3005 sloped depth samples, 3005 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 1506 of 1506 on odd rows) and 0 at the standard 2x locations the exact path: of 3547 sloped depth samples, 1499 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 0 of 2048 on odd rows) and 0 at the standard 2x locations the device's 2x2 grid: of 3005 sloped depth samples, 3005 hold the slope's depth at the guest's sample locations (1499 of 1499 on even rows, 1506 of 1506 on odd rows) and 0 at the standard 2x locations 2x checkerboard at 64x32: the device's 2x2 grid differs from the composite of four uniform renders in 0 samples and from the exact path in 2450 samples depth with the samples put in the guest's order: sample 0 of pixel (0, 1) is 0x00000000 0x00000000 0x00000000 0x00000000, the reference's is 0x3f700000 0x00000000 0x00000000 0x00000000 2x checkerboard at 64x32: the exact path differs from the reference in 402 color and 2048 depth samples; pixel (0,0)'s locations alone differ in 1552 samples AGC graphics: the exact path did not render the checkerboard bit for bit like the reference ``` ### What was checked | RX 9070 GRE run | Result | |---|---| | default | fails 3 of 3 | | `APS5_NO_GPL=1` | fails 3 of 3 | | `APS5_NO_PIPELINE_LTO=1` | fails 3 of 3 | - The composite reference and the device's own 2x2 grid agree in every sample, so the device keeps depth at custom locations; only the exact path differs. None of its 2048 odd-row depth samples hold the slope's depth, and the ones printed read 0. - The iGPU of the same machine (Radeon(TM) Graphics, `1002:164e`, 32.0.21045.16010) reproduces #9507 on the same build instead: `vkQueueSubmit recorder: Vulkan result -4` 3 of 3, and a pass 3 of 3 with `APS5_NO_GPL=1`. - Not bisected. The test last changed in 53949c077 (read the sample order tests' depth through a sampled copy). - The Khronos validation layer is not installed here. 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#12277
No description provided.