pixel_aot_dpp_extra: DPP8 quad read returns 0 on RX 9070 XT (32.0.32029.2010) #1034
Closed
opened 2026-11-23 22:37:59 +00:00 by thepatrickworld
·
3 comments
No Branch/Tag specified
main
codex/indirect-large-backed-views
codex/word3-preflight-check
codex/vertex-table-two-records
codex/live-index-alias
codex/copied-vertex-buffer-srv
codex/windows-stage-test-output
codex/preserve-live-srv-retirement
codex/share-render-target-tracking
codex/sgd5-negative-offset-fixture
coverage-dashboard
codex/mesh-loose-root
codex/mesh86-cache-padding
codex/xmem-scatter-preflight
codex/mesh-depth-ps
codex/indirect-dispatch-refresh
codex/compute-container-index
codex/startup-compute-formatted-load
codex/compute-indirect-producer
codex/compute-atomic-soffset
codex/mesh-dual-handoff
codex/startup-run-sh-watcher-control
codex/queue31-page-alias
codex/indexed-indirect-compute-root
codex/typed-buffer-view-metadata
codex/translated-indexed-address-alias
codex/fixed-mesh-create-result
codex/xmem-section-lease
codex/startup-slot86-mesh-cache
codex/restore-mesh-barrier-iteration
codex/translated-indirect-upload-index
codex/xapu-completion-opt-in
codex/translated-indexed-rect
codex/translated-indexed-indirect
codex/startup-mesh-lds-integration
codex/startup-console-ms24
codex/startup-slot57-mesh-request
codex/indirect-copy-provenance
codex/present-color-producer-trace
codex/compute-dispatch-binding-trace
codex/translated-indirect-table-buffers
codex/indirect-copy-provenance-base
codex/mix-half-literal-source
codex/translated-indirect-draw
codex/xmem-scatter-diagnostics
codex/slot148-recording-upload
codex/slot70-loading-art-verified
codex/command-list-upload-arena
codex/recover-failed-command-list
codex/startup-heap-timing-notes
codex/align-audio-input-timeline
codex/synthetic-depth-export-control
codex/startup-texture1d-on-windows
codex/1629-packed-position-fixture
codex/cpu-srv-refresh
codex/stream-root-srv-draw
codex/audio-mixer-timer
codex/startup-reload-published-shader
codex/priority-integrate-1284
codex/guest-sixteen-page-record
codex/aot-placed-dxr-batch
codex/guest-directory-selection
codex/gamesave-enumerate-read
codex/readme-archive-to-pixels
codex/pe-placed-view-draw
codex/archive-directory-gpu
codex/slot133-dxr-build
codex/materialize-placed-vertex-view
codex/dstorage-directory-offsets
codex/xg-nine-bc-copy
codex/xg-slot10-bc64-arrays
codex/dxr-guest-address-readback
codex/gpu-va-high-bits
codex/clarify-diagnostic-startup-scope
codex/xg-six-levels
codex/typed-derived-blend
codex/english-legal-text-progress
codex/address-bc-4ks
codex/dstorage-bounded-file-read
codex/wide-srv-offsets-menu
codex/startup-memory-srv
codex/bound-view-tail
codex/language-selector-readback
codex/setup-menu-progress
codex/cpu-plane-refresh
codex/startup-ubyte-vertex
codex/presenter-window-selection
codex/startup-uniform-buffer-lane
codex/intro-loop-timing
codex/static-clzero-loops
codex/document-rtx-intro
codex/startup-insertq
codex/nv12-startup-texture
codex/stream-stage-draw
codex/startup-null-uav-format
codex/startup-draw-capture
codex/shorten-windows-checks
codex/dstorage-rfc1950
codex/startup-dump-fence
codex/pr1135-review-base
codex/startup-stream-requests
codex/startup-chroma-view
codex/readme-graphics-pipeline-streams
codex/static-crt-free-tls
codex/arc-140t-rtx-5080-laptop-gpu-reports
codex/main-startup-progress-entry
codex/signed-dxil-catalogue
codex/reloc-free-preferred-base
codex/quad-dpp-bit-mask
codex/raw-srv-bounds
codex/rx9070-31044-hardware-report
codex/gpu-page-source-provenance
codex/runtime-placeholder-interior
codex/gpu-copy-queue-tile-order
codex/pe-pin-external-providers
codex/xmem-placeholder-reservations
codex/xmem-shared-physical-pages
codex/pe-package-startup
codex/xmem-tools-memory-query
codex/cpu-stack-output-import
codex/pe-load-security-cookie
codex/record-three-bvh-retests
codex/cpu-rbp-frame-anchor
codex/xmem-default-startup
codex/record-rtx-3050-ti-9597
codex/docs-readme-start-here
codex/check-compute-mad24-truncation
codex/docs-discord-community
codex/bound-rcx-branch-mutants
codex/rtx5060ti-bvh-62114
codex/837-neutral-readme-disclaimer
codex/record-rtx-3070-ti
codex/title-neutral-public-wording
codex/exe-shadow-frame-submissions
codex/exe-shadow-runtime-chain
codex/readme-polish
codex/gpu-coverage-nov23
codex/spirv-minlod
codex/shadow-shim-device
codex/exe-two-shadow-frames
codex/shim-dispatch-cleanup
codex/fix-spirv-cache-probe
codex/sampler-use
codex/ballot-bit-extract
codex/packed-fma-release
codex/cpu-packed-fma-o2
codex/publish-coverage-dashboard
codex/mesh-cbv-binding-order
codex/spirv-window-fixture
codex/ps-e32-float-uint
codex/ps-cbuffer-reads
codex/fixed-profile-rescan
codex/shim-compute-integration
codex/readme-visible-coverage
codex/readme-research-navigation
codex/integrate-pr-256
codex/indexed-mesh
codex/sampled-coverage
codex/first-ms
codex/dual-ps
codex/ps-attribute
codex/compute-first
codex/ps-export
codex/readme-research-status
codex/ps-layout
codex/blast-window
codex/chart-caption
codex/reviewer-roles
codex/blast-aot
codex/archive-program
codex/crc-stream-program
codex/exe-image-data-chain
codex/local-cpu-fixture-coverage
codex/exe-bound-frame-chain
codex/exe-mapped-comparison
codex/contribution-dependencies
codex/exe-entry-aot
codex/bink-frame-heap-integration
docs/hardware-seven-reports
codex/bink-custom-heap
codex/bink-heap-callers
codex/discussions-entry-points
codex/gpu-community-batch-64
codex/ffx-scratch-writers
codex/generic-project-documentation
codex/ffx-dispatch-rcas
codex/four-windows-gpu-reports
codex/title-neutral-project-wording
codex/community-coverage-provenance
codex/rcas-packed-texels
codex/community-gpu-retests
codex/community-build-and-gpu-reports
codex/ffx-provider-loop
codex/ffx-recurrent-views
codex/ffx-recurrent-resource
codex/amd-wave64-reports
codex/ffx-backend-slots
codex/upscaler-device-init
codex/ffx-context-lifecycle
codex/ffx-version-query
codex/ffx-provider-contract
codex/typed-object-callback
codex/cpu-ordinal-import
codex/chained-cpu-ranges
codex/cpu-import-call
codex/cpu-direct-call
codex/cpu-leaf-aot
codex/community-project-status
codex/script-state-path-replay
codex/script-state-evidence
codex/bc7-resident-tail
codex/bcpack-mip-tail
codex/bc7-texture-draw
codex/asset-ranges
codex/pixel-constants
codex/pixel-aot
codex/pre-exe-workloads
codex/root-signature-device-coverage
engineering/packed-bvh-leaves
engineering/bvh-build-and-update
engineering/intake-root-roundtrip
community/gpu-check-release
community/english-contributor-entry
gpu-check-v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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#1034
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?
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T22:37:59Z.
pixel_aot_dpp_extra: DPP8 quad read returns 0 on RX 9070 XT (32.0.32029.2010)
pixel_aot_dpp_extra_hardwarefails on an RX 9070 XT at2d8a0ccwhilepixel_aot_dpp_extra_warppasses on the same machine. The failing case reads a DPP8 source as zero, so the integer dot adds nothing and the accumulator comes back unchanged.Measured
Fresh clone of
2d8a0cc,cmake --preset dev -DINTAKE_PYTHON=<existing venv>,cmake --build --preset dev,XBOX2WINDOWS_ADAPTER="AMD Radeon RX 9070 XT":Three consecutive runs, identical. The whole
^pixel_aot_suite at that commit is 110 of 112, the other red being the known #958 comparison divergence.The assertion is
check_dpp_extra_subnormal_draw, casedpp_dotc_wrap.cso, channel 2:The body is
v_dot4c_i32_i8_dpp v14, v22, v21 dpp8:[1,2,3,0,5,6,7,4]withv22 = s44 = 0xf8f8f8f8,v21 = 0x01010101and accumulator0x80000010. The exact result isacc + (-32) = 0x7ffffff0; the observed0x80000010means the dot added zero. Channel 3 takes the same0xf8f8f8f8from the SGPR without a DPP read and is correct.Where it sits in the emitted code
The DPP8 source is read through
emit_quad_swizzle_u32(tools/pixel_aot.py:1730at2d8a0cc), which picks a lowering from the permutation:[1,0,3,2],[2,3,0,1],[3,2,1,0]→ oneQuadReadAcrossX/Y/Diagonal;QuadReadLaneAt;QuadReadLaneAtcalls plus a select chain overWaveGetLaneIndex() & 3u.dpp8:[1,2,3,0,...]takes the last branch. Replacing that chain with the operand itself (dpp29_s = dpp29_in, one line) makes the case pass on this adapter, so the value is correct and the read is what goes wrong.Channels 0 and 1 of the same fixture read a uniform literal (
0x08080808) throughquad_perm:[1,0,3,2], i.e. theQuadReadAcrossXbranch, and are correct. So a uniform operand alone is not enough to trigger it.What I could not reduce
Every smaller shader I tried behaves correctly on both backends, so I am not able to name the mechanism:
QuadReadLaneAt(uniform_literal, 1)QuadReadLaneAt+ select chain, uniform literalasuint(asfloat(params[0].w))then the chain (0xf8f8f8f8)The failure appears only with the full fixture shader, which samples a texture at the top of
mainand carries the harness prologue. Candidates I cannot separate with these measurements: the compiler treating a wave-uniform operand differently in this shader, or the read being moved relative to theexecmasking the renderer applies. A run of the same case with-Gisdisabled, and a disassembly of the emitted pixel shader for this case, would separate those; I have neither.pixel_aot_dpp_f16_hardware, which exercises the same helper family through other permutations, passes here — but it lives in #419, not at2d8a0cc, so it says nothing about this commit.Attribution
dpp_dot4c_i32_i8(tools/pixel_aot.py:827) and thedpp_dotc_wrapfixture (tests/pixel_aot_check.py:14893) are both onmainat2d8a0cc, so the merged commit fails on its own. #419 neither modifies the emitter nor the fixture (the diff is empty for both) and fails identically atf1c515df, which I ran. So this is amainproblem that any rebase inherits, not a regression from either PR.Environment
Windows 11 25H2 (26200.9711), MSVC 19.44, DXC
1.9.2602.17, AMD Radeon RX 9070 XT1002:7550driver32.0.32029.2010, WARP10.0.26100.9711,debug_layer=unavailable, presetdev,-Gis -denorm preserve -T ps_6_2for the isolated shaders.AI-assisted; one machine, one adapter.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T22:41:08Z.
The channel-2 result matches the RX 9060 XT regression in #1024. Its fix #1030 is now on main at
4bc40d05and passed three strict runs on the original RX 9060 XT. Could you run the unchangedpixel_aot_dpp_extra_hardwareandpixel_aot_dpp_extra_warpchecks at that commit with your RX 9070 XT selected? Please include the reported backend, driver, exit or first mismatch, and keep the independent #958 comparison result separate. This issue can track the remaining RX 9070 XT verification.Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T22:43:01Z.
Closing this as a duplicate. #1024 reported the same failure twenty minutes earlier, on the same driver (
32.0.32029.2010), with a reduced shader I could not build; it was diagnosed there and fixed by #1030, merged at4bc40d05.I filed this before reading that report, so the reproducer here adds nothing. What it did add is the third-adapter retest R0Y00 asked for, which I have posted on #1024: at
d1ea7d5(which carries the #1030 fix) the strict entry passes three of three runs on an RX 9070 XT, zero mismatches, full buffer compared, where its parent failed three of three on channel 2.The attribution notes here still hold and are the only part worth keeping: the helper and the fixture came in with #423, not with #419, and both PRs fail identically before the fix.
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-23T23:04:53Z.
Retest at the commit you named.
1002:7550,backend=hardware, driver32.0.32029.2010,debug_layer=unavailable; Windows10.0.26200.9711fromver1.9.2602.17(21d28f727), presetdev,git rev-parse --short HEAD=4bc40d0,git status --porcelainreturning only untracked log files-DINTAKE_PYTHON=<venv>/python.exe; the entries ran as tests #393 and #485 with seven draws each, so the filter was not matching an empty selectionout/build/dev/offscreen_check.exe, SHA-256541be2ab6c748edd6f7c974ec99a038f84b6871c2a88597d2438306453d83accpixel_aot_dpp_extra_hardware, three consecutive runs: exit 0 in each of them, 4.88 s / 4.82 s / 4.87 s. Every draw reportspixels=4096 channels=16384 max_absolute_error=0, andfindstr /c:"pixel_mismatch"over the three transcripts returns nothing.pixel_aot_dpp_extra_warp: exit 0, 2.64 s. That one is the WARP entry —adapter=Microsoft Basic Render Driver vendor=1414 device=008c, driver10.0.26100.9711— not an RX 9070 XT data point.The #958 comparison result stays separate, as you asked: different test, different fixture. On this adapter it still diverges on channel 0 at bit 18 under
-denorm preserve, and issue #958 carries the reproducer, the DXIL-shape explanation and the patch. It has no bearing on #1030.That is the RX 9070 XT data point for #1030 at
4bc40d05; the adapter matrix is elsewhere. Happy to keep it tracked here if you reopen the issue.AI-assisted; one machine, one adapter.