Independently verify the mesh and pixel CBV swap on an AMD GPU #648

Closed
opened 2026-11-22 17:48:28 +00:00 by R0Y00 · 2 comments
R0Y00 commented 2026-11-22 17:48:28 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T17:48:28Z.


Task

Run one existing source-built test from a Windows x64 checkout with an AMD adapter. Use the Windows build instructions and the normal dev build. If the machine also has another GPU, set XBOX2WINDOWS_ADAPTER to a distinguishing part of the AMD adapter's name.

ctest --preset dev --no-tests=error -R '^mesh_cbv_order_hardware$' -V

The fixture from #559 checks that exchanging the bound CBVs changes the result from red at depth 0.5 to white at depth 0.625, and that the stale color and stale depth controls are detected.

Completion

Comment here with the tested SHA, exact command, adapter, driver, Windows build, debug-layer status and outcome. If the comparison fails, include its first mismatch. If the adapter skips, include the capability diagnostic. A single report with that evidence completes this task. It can be done independently without code changes or local package inputs.

To claim this, comment with your adapter. Refs #218 and #559.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6545658512 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/654). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T17:48:28Z. --- ## Task Run one existing source-built test from a Windows x64 checkout with an AMD adapter. Use the [Windows build instructions](https://github.com/R0Y00/Xbox2Windows#first-build) and the normal `dev` build. If the machine also has another GPU, set `XBOX2WINDOWS_ADAPTER` to a distinguishing part of the AMD adapter's name. ```powershell ctest --preset dev --no-tests=error -R '^mesh_cbv_order_hardware$' -V ``` The fixture from #559 checks that exchanging the bound CBVs changes the result from red at depth 0.5 to white at depth 0.625, and that the stale color and stale depth controls are detected. ## Completion Comment here with the tested SHA, exact command, adapter, driver, Windows build, debug-layer status and outcome. If the comparison fails, include its first mismatch. If the adapter skips, include the capability diagnostic. A single report with that evidence completes this task. It can be done independently without code changes or local package inputs. To claim this, comment with your adapter. Refs #218 and #559.
rwZephyr commented 2026-11-24 06:48:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by rwZephyr on 2026-11-22T18:40:02Z.


Independent hardware check passed. This report was AI-assisted, and the test ran locally on Windows 11 25H2 x64, build 26200.9974, from upstream main at 58dfa51de946dc45a9a14057a5e36d0bd8fc4145.

The renderer identified the AMD Radeon RX 9070 XT (16 GB, PCI 1002:7550), driver 32.0.32029.2010 (Adrenalin 26.11.2), and reported backend=hardware debug_layer=unavailable for all four draws.

I used workspace-local MSVC 19.44.35230, Windows SDK 10.0.26100, DXC 1.8.2502.8, and Python 3.12.10. After loading the local toolchain and creating out/pe-env, I ran:

cmake --preset dev
cmake --build --preset dev --target offscreen_check
$env:XBOX2WINDOWS_ADAPTER = 'RX 9070 XT'
ctest --preset dev --no-tests=error -R '^mesh_cbv_order_hardware$' -V
Case Expected Observed
A/B Red at depth 0.5 All 1,024 pixels and mesh export trace matched
B/A White at depth 0.625 All 1,024 pixels and mesh export trace matched
Stale-color control 1,024 pixel mismatches with matching trace 1,024 pixel mismatches, trace matched
Stale-depth control Trace mismatch with zero pixel mismatches Trace mismatch, zero pixel mismatches

CTest passed 1/1 with zero capability skips and no unexpected fixture mismatch. The initial attempt stopped before rendering with Windows loader status 0xC0000135. Staging the debug CRT DLLs beside offscreen_check.exe resolved it. The passing run used the same SHA, adapter selection, and source-built fixture.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083777474 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/654#issuecomment-7083777474). Originally posted by [rwZephyr](https://github.com/rwZephyr) on 2026-11-22T18:40:02Z. --- Independent hardware check passed. This report was AI-assisted, and the test ran locally on Windows 11 25H2 x64, build `26200.9974`, from upstream `main` at `58dfa51de946dc45a9a14057a5e36d0bd8fc4145`. The renderer identified the AMD Radeon RX 9070 XT (16 GB, PCI `1002:7550`), driver `32.0.32029.2010` (Adrenalin 26.11.2), and reported `backend=hardware debug_layer=unavailable` for all four draws. I used workspace-local MSVC 19.44.35230, Windows SDK 10.0.26100, DXC 1.8.2502.8, and Python 3.12.10. After loading the local toolchain and creating `out/pe-env`, I ran: ```powershell cmake --preset dev cmake --build --preset dev --target offscreen_check $env:XBOX2WINDOWS_ADAPTER = 'RX 9070 XT' ctest --preset dev --no-tests=error -R '^mesh_cbv_order_hardware$' -V ``` | Case | Expected | Observed | | --- | --- | --- | | A/B | Red at depth 0.5 | All 1,024 pixels and mesh export trace matched | | B/A | White at depth 0.625 | All 1,024 pixels and mesh export trace matched | | Stale-color control | 1,024 pixel mismatches with matching trace | 1,024 pixel mismatches, trace matched | | Stale-depth control | Trace mismatch with zero pixel mismatches | Trace mismatch, zero pixel mismatches | CTest passed 1/1 with zero capability skips and no unexpected fixture mismatch. The initial attempt stopped before rendering with Windows loader status `0xC0000135`. Staging the debug CRT DLLs beside `offscreen_check.exe` resolved it. The passing run used the same SHA, adapter selection, and source-built fixture.
R0Y00 commented 2026-11-24 06:48:40 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T18:45:12Z.


The independent RX 9070 XT run meets the requested evidence. Both CBV orders matched all 1,024 pixels and the export trace. The stale color and stale depth controls failed as expected. CTest passed 1/1 with no skips. Thanks for recording the environment and the first-run setup fix. Report

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7083842861 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/654#issuecomment-7083842861). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-22T18:45:12Z. --- The independent RX 9070 XT run meets the requested evidence. Both CBV orders matched all 1,024 pixels and the export trace. The stale color and stale depth controls failed as expected. CTest passed 1/1 with no skips. Thanks for recording the environment and the first-run setup fix. [Report](https://github.com/R0Y00/Xbox2Windows/issues/654#issuecomment-7083777474)
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
R0Y00/Xbox2Windows#648
No description provided.