docs: record the sampler-views readback difference seen on Intel Xe2 #1126
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1133"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T01:38:59Z.
What
Adds the one missing adapter to the sampler-views section of
docs/experiments.md, plus the two controls thatlocalize its failure. The section already lists the GTX 1060, in-box WARP and RTX 4060 Laptop results; this adds the
Intel Arc 140T case and what separates a shader-level difference from a descriptor-layer one.
Measured
Host: Windows 11 build 26300.9974, x64, Core Ultra 9 285H. MSVC 14.44.35207, Windows SDK 10.0.26100,
DXC 1.8.2502.11, SPIRV-Tools v2025.5
262bdab4, SPIRV-Cross57e4efc+(MinLod patch), Python 3.12.10,debug layer enabled in every run (
debug_errors=0 debug_warnings=0). Commit110e186for the fixtures.0.25 0.25/0 00.25 0.75/0 10.25 0.75/0 1Two controls, written as direct HLSL and compiled with the same DXC at
cs_6_0, run through the same--spirv-sampler-viewsreadback path on the Arc:SamplerState ordinary[2] : register(s1),SamplerComparisonState comparison[2] : register(s1, space3)— indexed bySV_DispatchThreadID: read0.25 0.75/0 1, and exchanged only thereversed pair in the other two orders, matching the reference.
SV_GroupID, nothing else changed: read0.25 0.25/0 0, word for word what the split shader produced.The RTX and WARP readback for both controls were identical to each other and correct. Controls that read one table
only (
s1space 0 alone, thens1space 3 alone) read the right descriptors on the Arc, so neither table is wrong byitself. The split shader indexes its samplers with
gl_WorkGroupID.x, which is the one line that differs.Whether the driver folds that index as uniform is not established here, and the entry says so. The Arc result
stays a failure; no expectation is changed.
Tested
Docs only: one paragraph plus two paragraphs of measurement. No fixture, build, CTest registration or expectation
change, so no new test surface and nothing to run on CI beyond the docs checks.
Notes
described in the entry.
Refs #1115, which asked for exactly this direct-HLSL comparison and has the discussion. I have not filed thecontrols as fixtures; if you want them in
tests/spirv_window/with a driver switch, say so and I will send thatas its own PR.
generated by the fixture.