D3D12 sampler readback mismatch on Intel Arc A770 with driver 32.0.101.9175 #2896

Open
opened 2026-11-27 01:28:10 +00:00 by github-bot · 4 comments
Owner

@⁠Alexofbulgaria on GitHub · 2026-11-26 16:50 UTC · original

A source-built D3D12 compute fixture produces incorrect sampler readbacks on an Intel Arc A770. The same renderer and compiled shaders produced the expected results on Microsoft WARP and an NVIDIA GeForce RTX 2070 Max-Q.

  • Windows build 26300.10075
  • Xbox2Windows source revision d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8
  • DXC 1.9.2602.17 (21d28f727), target cs_6_0, entry point main
Backend Driver Original dispatch shader Literal-index control
Intel Arc A770 32.0.101.9175 0/3 passed 3/3 passed
Microsoft WARP 10.0.26100.10068 3/3 passed 3/3 passed
NVIDIA RTX 2070 Max-Q 32.0.15.8129 1/1 passed 1/1 passed

The D3D12 debug layer was enabled and reported zero errors and warnings in these runs. In the first A770 sampler swap, the expected sample pair was 0.25, 0.75 and the expected comparison pair was 0, 1. The actual pairs were 0.25, 0.25 and 0, 0.

From the fixture directory, select the A770 and run the original variant and the passing control.

$env:XBOX2WINDOWS_ADAPTER = 'A770'
.\offscreen_check.exe hardware --spirv-sampler-views .\dispatch_original.dxil
.\offscreen_check.exe hardware --spirv-sampler-views .\literal_indices.dxil

In the broader A770 matrix, the original and NonUniformResourceIndex variants failed all three repeats at both dispatch and group indexing levels. The uniform root-constant, literal-index, and within-group nonuniform controls passed. The root cause and the behavior on other Arc driver versions remain open.

Related: #1115 reports the same first-swap values on an Arc 140T using a different fixture path. Whether the two failures share a cause remains open.

**@⁠Alexofbulgaria** on GitHub · 2026-11-26 16:50 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2896) A source-built D3D12 compute fixture produces incorrect sampler readbacks on an Intel Arc A770. The same renderer and compiled shaders produced the expected results on Microsoft WARP and an NVIDIA GeForce RTX 2070 Max-Q. - Windows build `26300.10075` - Xbox2Windows source revision `d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8` - DXC `1.9.2602.17 (21d28f727)`, target `cs_6_0`, entry point `main` | Backend | Driver | Original dispatch shader | Literal-index control | | --- | --- | ---: | ---: | | Intel Arc A770 | `32.0.101.9175` | 0/3 passed | 3/3 passed | | Microsoft WARP | `10.0.26100.10068` | 3/3 passed | 3/3 passed | | NVIDIA RTX 2070 Max-Q | `32.0.15.8129` | 1/1 passed | 1/1 passed | The D3D12 debug layer was enabled and reported zero errors and warnings in these runs. In the first A770 sampler swap, the expected sample pair was `0.25, 0.75` and the expected comparison pair was `0, 1`. The actual pairs were `0.25, 0.25` and `0, 0`. From the fixture directory, select the A770 and run the original variant and the passing control. ```powershell $env:XBOX2WINDOWS_ADAPTER = 'A770' .\offscreen_check.exe hardware --spirv-sampler-views .\dispatch_original.dxil .\offscreen_check.exe hardware --spirv-sampler-views .\literal_indices.dxil ``` In the broader A770 matrix, the original and NonUniformResourceIndex variants failed all three repeats at both dispatch and group indexing levels. The uniform root-constant, literal-index, and within-group nonuniform controls passed. The root cause and the behavior on other Arc driver versions remain open. Related: #1115 reports the same first-swap values on an Arc 140T using a different fixture path. Whether the two failures share a cause remains open.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:28:10 +00:00
Author
Owner

@⁠Alexofbulgaria on GitHub · 2026-11-26 17:01 UTC · original

A770 driver rollback retest

The sampler readback mismatch reproduced on the same Arc A770 after rolling back from 32.0.101.9175 to 32.0.101.9034. Windows remained at build 26300.10075. The executable and both compiled shaders matched the baseline SHA-256 hashes from source revision d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8.

Backend Driver dispatch_original literal_indices
Intel Arc A770 baseline 32.0.101.9175 0/3 passed 3/3 passed
Intel Arc A770 rollback 32.0.101.9034 0/3 passed 3/3 passed
Microsoft WARP rollback control 10.0.26100.10068 3/3 passed 3/3 passed

The D3D12 debug layer was enabled for all 12 new runs and reported zero errors and warnings. In swap 0 on the A770, the sample pair was 0.25, 0.25 (expected 0.25, 0.75) and the comparison pair was 0, 0 (expected 0, 1), matching the baseline failure. The rollback did not resolve the mismatch. The cause remains undetermined.

**@⁠Alexofbulgaria** on GitHub · 2026-11-26 17:01 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2896#issuecomment-7198384826) ### A770 driver rollback retest The sampler readback mismatch reproduced on the same Arc A770 after rolling back from `32.0.101.9175` to `32.0.101.9034`. Windows remained at build `26300.10075`. The executable and both compiled shaders matched the baseline SHA-256 hashes from source revision `d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8`. | Backend | Driver | `dispatch_original` | `literal_indices` | | --- | --- | ---: | ---: | | Intel Arc A770 baseline | `32.0.101.9175` | 0/3 passed | 3/3 passed | | Intel Arc A770 rollback | `32.0.101.9034` | 0/3 passed | 3/3 passed | | Microsoft WARP rollback control | `10.0.26100.10068` | 3/3 passed | 3/3 passed | The D3D12 debug layer was enabled for all 12 new runs and reported zero errors and warnings. In swap 0 on the A770, the sample pair was `0.25, 0.25` (expected `0.25, 0.75`) and the comparison pair was `0, 0` (expected `0, 1`), matching the baseline failure. The rollback did not resolve the mismatch. The cause remains undetermined.
Author
Owner

@⁠xiaoqi72665 on GitHub · 2026-11-27 03:23 UTC · original

RX 7900 XT / WARP independent sampler comparison

Source-built public fixtures at a4fae199517158fd443bfdd450f476b2c7b5f4c1, clean main, Debug (dev preset), Windows 10 build 19045.6466, Windows SDK 10.0.26100.0 DXC 1.8.2502.11. RX 7900 XT (1002:744c), driver 32.0.32029.2010; in-box WARP 10.0.19041.5794. D3D12 debug layer unavailable. SPIRV-Tools 262bdab4 / Headers b824a462, SPIRV-Cross 57e4efc with the repository MinLod patch.

Both stock spirv_sampler_views_(hardware|warp) tests passed. Plain and renamed descriptor tables both returned the expected four values for all three swaps:

Swap Ordinary pair Comparison pair
0 0.25, 0.75 0, 1
1 0.75, 0.25 0, 1
2 0.25, 0.75 1, 0

The missing-comparison-store control detected the expected two sentinel words in swap 1 (word 2: expected 00000000, actual c0400000; word 3: expected 3f800000, actual c0800000).

The registered sampler_index_control_(hardware|warp) tests also passed 2/2. Both the dispatch-thread and group-index variants matched all three swaps on both adapters; the fixture printed dispatch_thread_control=pass group_index_reproduction=matches dxc=1.8.2502.11.

$env:XBOX2WINDOWS_ADAPTER = 'RX 7900 XT'
ctest --preset dev --no-tests=error -j 1 -R '^(spirv_sampler_views|sampler_index_control)_(warp|hardware)$' -V

This is a comparison using the current public fixtures, not the original A770 DXIL binaries or the literal-index variant in the issue report. The A770-specific mismatch is not reproduced on this RDNA3 configuration in the tested cases; no conclusion about its root cause.

Buhe (@⁠xiaoqi72665). AI-assisted; tests executed on local hardware.

**@⁠xiaoqi72665** on GitHub · 2026-11-27 03:23 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2896#issuecomment-7208943032) ### RX 7900 XT / WARP independent sampler comparison Source-built public fixtures at `a4fae199517158fd443bfdd450f476b2c7b5f4c1`, clean `main`, Debug (`dev` preset), Windows 10 build 19045.6466, Windows SDK 10.0.26100.0 DXC 1.8.2502.11. RX 7900 XT (1002:744c), driver 32.0.32029.2010; in-box WARP 10.0.19041.5794. D3D12 debug layer unavailable. SPIRV-Tools `262bdab4` / Headers `b824a462`, SPIRV-Cross `57e4efc` with the repository MinLod patch. Both stock `spirv_sampler_views_(hardware|warp)` tests passed. Plain and renamed descriptor tables both returned the expected four values for all three swaps: | Swap | Ordinary pair | Comparison pair | |---|---|---| | 0 | 0.25, 0.75 | 0, 1 | | 1 | 0.75, 0.25 | 0, 1 | | 2 | 0.25, 0.75 | 1, 0 | The missing-comparison-store control detected the expected two sentinel words in swap 1 (word 2: expected 00000000, actual c0400000; word 3: expected 3f800000, actual c0800000). The registered `sampler_index_control_(hardware|warp)` tests also passed 2/2. Both the dispatch-thread and group-index variants matched all three swaps on both adapters; the fixture printed `dispatch_thread_control=pass group_index_reproduction=matches dxc=1.8.2502.11`. ```powershell $env:XBOX2WINDOWS_ADAPTER = 'RX 7900 XT' ctest --preset dev --no-tests=error -j 1 -R '^(spirv_sampler_views|sampler_index_control)_(warp|hardware)$' -V ``` This is a comparison using the current public fixtures, not the original A770 DXIL binaries or the literal-index variant in the issue report. The A770-specific mismatch is not reproduced on this RDNA3 configuration in the tested cases; no conclusion about its root cause. Buhe (@⁠xiaoqi72665). AI-assisted; tests executed on local hardware.
Author
Owner

@⁠Alexofbulgaria on GitHub · 2026-11-27 16:43 UTC · original

Compiler and shader-model follow-up

I kept the hash-verified Release fixture and the HLSL from d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8 fixed on Windows build 26300.10075. The A770 (8086:56a0) ran driver 32.0.101.9175, and WARP reported 10.0.26100.10068. I changed one compiler setting at a time relative to the original optimized DXC 1.9 cs_6_0 baseline.

Compilation A770 dispatch A770 group A770 literal WARP, all three variants
DXC 1.8.2502.8, cs_6_0 0/3 0/3 3/3 9/9
DXC 1.9.2602.17, cs_6_0 -Od 0/3 0/3 3/3 9/9
DXC 1.9.2602.17, cs_6_6 0/3 0/3 3/3 9/9

Each run used offscreen_check.exe <hardware|warp> --spirv-sampler-views <variant.dxil>. All 54 runs had the D3D12 debug layer enabled, with zero errors, warnings, or skips. Every readback row matched the original baseline, including the failing swap 0 values for both dynamic variants. The A770 returned sample 0.25, 0.25 and comparison 0, 0, against expected 0.25, 0.75 and 0, 1. The shader-model 6.6 disassembly uses createHandleFromBinding for the dynamic samplers.

The mismatch survives these three compilation changes. The RX 7900 XT pass covers related stock cases at a different pin and compiler build. A same-binary comparison would help narrow it further. The older compiler in this run came from the Microsoft v1.8.2502 release.

**@⁠Alexofbulgaria** on GitHub · 2026-11-27 16:43 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2896#issuecomment-7223592399) ### Compiler and shader-model follow-up I kept the hash-verified Release fixture and the HLSL from `d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8` fixed on Windows build `26300.10075`. The A770 (`8086:56a0`) ran driver `32.0.101.9175`, and WARP reported `10.0.26100.10068`. I changed one compiler setting at a time relative to the original optimized DXC 1.9 `cs_6_0` baseline. | Compilation | A770 dispatch | A770 group | A770 literal | WARP, all three variants | | --- | ---: | ---: | ---: | ---: | | DXC 1.8.2502.8, `cs_6_0` | 0/3 | 0/3 | 3/3 | 9/9 | | DXC 1.9.2602.17, `cs_6_0 -Od` | 0/3 | 0/3 | 3/3 | 9/9 | | DXC 1.9.2602.17, `cs_6_6` | 0/3 | 0/3 | 3/3 | 9/9 | Each run used `offscreen_check.exe <hardware|warp> --spirv-sampler-views <variant.dxil>`. All 54 runs had the D3D12 debug layer enabled, with zero errors, warnings, or skips. Every readback row matched the original baseline, including the failing swap 0 values for both dynamic variants. The A770 returned sample `0.25, 0.25` and comparison `0, 0`, against expected `0.25, 0.75` and `0, 1`. The shader-model 6.6 disassembly uses `createHandleFromBinding` for the dynamic samplers. The mismatch survives these three compilation changes. The [RX 7900 XT pass](https://git.gtahub.st/github/R0Y00--Xbox2Windows/issues/2896) covers related stock cases at a different pin and compiler build. A same-binary comparison would help narrow it further. The older compiler in this run came from the [Microsoft v1.8.2502 release](https://github.com/microsoft/DirectXShaderCompiler/releases/tag/v1.8.2502).
Author
Owner

@⁠Alexofbulgaria on GitHub · 2026-11-30 05:21 UTC · original

RTX 2070 Max-Q comparison for the archived sampler fixture

I recovered the laptop results for the original dispatch shader and the literal-index control from Xbox2Windows source d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8. The renderer and both DXIL files in the saved laptop transfer ZIP match the SHA-256 hashes recorded before and after the desktop run. The laptop console log records the selected adapter and output. It does not contain its own file hashes.

Backend Driver Original dispatch Literal-index control
RTX 2070 Max-Q 32.0.15.8129 1/1 passed 1/1 passed
Intel Arc A770 32.0.101.9175 0/3 passed 3/3 passed
Microsoft WARP 10.0.26100.10068 3/3 passed 3/3 passed

The RTX run matched all three expected swaps for each shader. The D3D12 debug layer was enabled on all three backends and recorded zero warnings and errors. On the A770, the first swap for the original dispatch shader returned sample values 0.25, 0.25 and comparison values 0, 0, versus expected 0.25, 0.75 and 0, 1. The RTX results cover these two variants. The group-index variants remain unmeasured on the RTX, and the underlying cause remains open.

These runs used synthetic fixtures. AI helped reconcile the archived logs and file hashes.

**@⁠Alexofbulgaria** on GitHub · 2026-11-30 05:21 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/2896#issuecomment-7269586769) ### RTX 2070 Max-Q comparison for the archived sampler fixture I recovered the laptop results for the original dispatch shader and the literal-index control from Xbox2Windows source `d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8`. The renderer and both DXIL files in the saved laptop transfer ZIP match the SHA-256 hashes recorded before and after the desktop run. The laptop console log records the selected adapter and output. It does not contain its own file hashes. | Backend | Driver | Original dispatch | Literal-index control | | --- | --- | --- | --- | | RTX 2070 Max-Q | `32.0.15.8129` | 1/1 passed | 1/1 passed | | Intel Arc A770 | `32.0.101.9175` | 0/3 passed | 3/3 passed | | Microsoft WARP | `10.0.26100.10068` | 3/3 passed | 3/3 passed | The RTX run matched all three expected swaps for each shader. The D3D12 debug layer was enabled on all three backends and recorded zero warnings and errors. On the A770, the first swap for the original dispatch shader returned sample values `0.25, 0.25` and comparison values `0, 0`, versus expected `0.25, 0.75` and `0, 1`. The RTX results cover these two variants. The group-index variants remain unmeasured on the RTX, and the underlying cause remains open. These runs used synthetic fixtures. AI helped reconcile the archived logs and file hashes.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#2896
No description provided.