D3D12 sampler readback mismatch on Intel Arc A770 with driver 32.0.101.9175 #2896
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#2896
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?
@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.
26300.10075d3e3ea776e4fb32401f1eed3dc109fb477d9cbd81.9.2602.17 (21d28f727), targetcs_6_0, entry pointmain32.0.101.917510.0.26100.1006832.0.15.8129The 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.75and the expected comparison pair was0, 1. The actual pairs were0.25, 0.25and0, 0.From the fixture directory, select the A770 and run the original variant and the passing control.
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 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.9175to32.0.101.9034. Windows remained at build26300.10075. The executable and both compiled shaders matched the baseline SHA-256 hashes from source revisiond3e3ea776e4fb32401f1eed3dc109fb477d9cbd8.dispatch_originalliteral_indices32.0.101.917532.0.101.903410.0.26100.10068The 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(expected0.25, 0.75) and the comparison pair was0, 0(expected0, 1), matching the baseline failure. The rollback did not resolve the mismatch. The cause remains undetermined.@xiaoqi72665 on GitHub · 2026-11-27 03:23 UTC · original
RX 7900 XT / WARP independent sampler comparison
Source-built public fixtures at
a4fae199517158fd443bfdd450f476b2c7b5f4c1, cleanmain, Debug (devpreset), 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-Tools262bdab4/ Headersb824a462, SPIRV-Cross57e4efcwith 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: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 printeddispatch_thread_control=pass group_index_reproduction=matches dxc=1.8.2502.11.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.
@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
d3e3ea776e4fb32401f1eed3dc109fb477d9cbd8fixed on Windows build26300.10075. The A770 (8086:56a0) ran driver32.0.101.9175, and WARP reported10.0.26100.10068. I changed one compiler setting at a time relative to the original optimized DXC 1.9cs_6_0baseline.cs_6_0cs_6_0 -Odcs_6_6Each 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 sample0.25, 0.25and comparison0, 0, against expected0.25, 0.75and0, 1. The shader-model 6.6 disassembly usescreateHandleFromBindingfor 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-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.32.0.15.812932.0.101.917510.0.26100.10068The 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.25and comparison values0, 0, versus expected0.25, 0.75and0, 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.