Do pixel_aot shaders render the draw-core references on Vulkan (lavapipe)? #608
Open
opened 2026-11-22 15:58:38 +00:00 by Ybucaille
·
20 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#608
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 Ybucaille on 2026-11-22T15:58:38Z.
Question
tools/pixel_aot.pyemits HLSL that DXC compiles to DXIL, and thepixel_aot_*tests check the result on WARP and hardware throughoffscreen_check. Can the same HLSL be compiled withdxc -spirvand drawn on Vulkan with the same references?I'd like to take this on from Linux. The first target is the
draw-coreset intests/pixel_aot_check.py, drawn on lavapipe (Mesa's software Vulkan driver, a WARP equivalent with no GPU needed).Evidence so far
ldexp32/frexp_mant32helpers from thepixel_aotpreamble throughdxc -spirvand VkRunner. That covers the helpers only. No translated pixel shader has been drawn on Vulkan.t0/s0/b0bindings,QuadReadAcross*/QuadReadLaneAtandWaveGetLaneIndexfrom the DPP lowering.Completion condition
draw-corefixture, the generated HLSL compiles withdxc -spirv -T ps_6_0and passesspirv-val. Any rejected construct gets listed with its fixture.draw-corereferences, using the same full-screen triangle and RGBA32F target astests/pixel_aot_render.cpp.The check is optional and adds no Windows or CI dependency, like #473. Wiring it into CI can be a separate follow-up. Parts that don't fit cleanly would be reported rather than worked around.
Required environment
Linux x64, LLVM with gfx1013 (for the existing
pixel_aot_check.py binarypath), DXC for Linux, a Vulkan driver (lavapipe), SPIRV-Tools. No Windows, no physical GPU, no game files.Imported from R0Y00/Xbox2Windows. Originally posted by KevinKor001 on 2026-11-22T18:23:48Z.
hai again uhh please tell me what exactly do you want me to test and how
I know how to get around projects but this is my first time working on an emulator so im sorry if i dont fully understand what everything means , i need some extra time researching the topic and source :)
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T18:45:09Z.
@KevinKor001 thanks for offering. Start with one source-built baseline fixture from the checkout. You can test this part without an emulator, a physical GPU, or game files.
I verified the HLSL generation command. Please post the commit, DXC and SPIRV-Tools versions, and whether the last two commands passed. If either fails, include the first diagnostic. That is enough for a useful first report. The separate next step is a lavapipe draw with the same resources and RGBA32F reference as the existing draw.
Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-22T19:31:29Z.
Progress on the lavapipe draw, so the next step isn't duplicated. I'll leave the compile-stage baseline above to @KevinKor001 so it stays an independent report.
At
840b274, bothassembly(False)andassembly(True)fixtures are translated, compiled withdxc -spirvand drawn by a small local Vulkan host: full-screen triangle, 8x8 ramp texture, 64x64 RGBA32F target, readback compared bit for bit with the existing reference (4096 pixels). Intel ANV (UHD TGL) and lavapipe (Mesa 26.2.7) both match. The negative control (bgra shader against the rgba reference) fails atx=0 y=0, same as under D3D12. Without-fvk-invert-yon the vertex shader the comparison fails too, so orientation is checked.Tools: DXC
1.10.2605.37, SPIRV-Toolsv2026.4. Linux x64, no game files. AI-assisted.Findings that shape the next step:
draw-coreset (62 distinct sources) needs Vulkan 1.2, becauseSignedZeroInfNanPreserveis not allowed in 1.1. All 62 then passspirv-val.t0,s0andb0all atset 0, binding 0, andspirv-valdoesn't catch it.-fvk-b-shift 0 0 -fvk-t-shift 16 0 -fvk-s-shift 32 0 -fvk-u-shift 48 0gives unique bindings.shaderDenormPreserveFloat32, and a probe confirms it flushes subnormal inputs and outputs. It can't be the oracle for the 53 modules that declareDenormPreserve 32. Intel ANV supports it, so I'd use ANV as the target and lavapipe for the rest.x=16(3e14a000instead of3e148000). A compute probe suggests its compiler foldsf16tof32(f32tof16(x))back tox, so the round-toward-zero inexport16is skipped. I haven't checked whether the same happens under D3D12 on NVIDIA.What I'd take this week, unless something else helps more: extend the host to the
--check-pixel-case/--check-pixel-batchcase files, then drivepixel_aot_check.check_renderthrough it so all ofdraw-core, negative controls included, runs on Vulkan. Optional and outside CI, like #473. Is that the most useful next piece, or is there a part of #614 (or another task) you'd rather see first?Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-23T17:10:40Z.
@Ybucaille a possible side piece, offered only if it doesn't overlap your plan. If you'd rather cover it yourself, or it gets in the way of the batch host, say so and I'll leave #614 to you.
You noted that lavapipe can't be the oracle for the 53
draw-coremodules that declareDenormPreserve 32. On this machine, RADV reports support for it:shaderDenormPreserveFloat32denormBehaviorIndependenceSource:
vulkaninfo(Vulkan 1.4.354), Fedora 45, upstreamda9bc9c. Nothing has been compiled or drawn yet.What I could do, if useful:
dxc -spirvat Vulkan 1.2,spirv-val(SPIRV-Tools v2026.2, older than your v2026.4), thet0/s0/b0binding collision and the-fvk-*-shiftfix, and the lavapipe subnormal flush.I wouldn't write a separate harness. Would either piece help, or would you rather keep it?
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T17:22:21Z.
The RADV runtime comparison would help. Please use Ybucaille's existing host when it is published. Start with a source-built case that actually distinguishes preserve from flush and record the driver, DXC/SPIRV-Tools versions, program, mode, exact readback and one mismatched control. Record missing capabilities and validation refusals separately. Kevin's compile-stage baseline remains an independent check, so there is no need to build a second parser or harness.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-23T18:24:50Z.
@KevinKor001 if you're still working on the compile-stage baseline, please post yours as well. Two independent runs are worth more than one, and I'm not trying to take this over. In case it helps in the meantime, here is the same check from a second environment.
Environment. Upstream
mainat1c13def, Fedora 45 x86_64, Python 3.15.2.1.9.2609.5(libdxcompiler.so: 1.9(5512-01b62ad4)): thev1.9.2609Linux release from microsoft/DirectXShaderCompiler, archive SHA-25696faadc7…39a1, which matches the release digest.v2026.2(Fedoraspirv-tools-2026.2-3.fc45).These are different from the DXC
1.10.2605.37and SPIRV-Toolsv2026.4reported above.Commands, as posted above (
python3forpython, anddxcas the full path to the release binary):Result.
dxc -spirv: exit 0.spirv-val: exit 0, no diagnostics.One extra observation, matching @Ybucaille's binding note.
spirv-disshowstexandsampboth atDescriptorSet 0, Binding 0, andspirv-valaccepts it.Constants(b0) is not emitted here, because this fixture doesn't read it. With-fvk-b-shift 0 0 -fvk-t-shift 16 0 -fvk-s-shift 32 0 -fvk-u-shift 48 0,texmoves to binding 16 andsampto 32, andspirv-valstill passes.Not done here: the other
draw-coresources, Vulkan 1.2 targeting and any draw. The RADV runtime comparison will wait for the published host, as you asked.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-23T18:36:51Z.
Thanks, I'll take the host then. I'll start with the case you describe: a source-built pixel shader with subnormal inputs and outputs, built with
-denorm preserveand-denorm ftzas the negative control. The host reads back the raw binary32 words and logs the device, driver, DXC/SPIRV-Tools versions and the mode. Missing capabilities and validation refusals are reported separately from mismatches. I expect to open that PR tomorrow and will link it here so @MasterDomino can run it on RADV. Thedraw-corecase files will follow in a separate PR.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-24T02:48:55Z.
Compile-stage baseline report from a second environment. No parser or harness built here, per the note above; this is the four-command sequence only, so it stays an independent check.
2da8071bd1a9f01d7b219c7f9857cff7bec92ce1(main, 2026-11-24)linux_dxc_2026_09_28.x86_x64release binary); SPIRV-Tools v2026.4 (v2026.4.rc2-0gef96ed763)baseline.hlslgenerated at 6,995 bytes;dxc -spirv -T ps_6_0 -E mainpassed, producing a 2,140-byte SPIR-V module;spirv-valpassed. No validation refusals on this fixture.dxcrejects-version; version pinning rests on the release tag/asset.This environment is also ready for the lavapipe draw leg when Ybucaille's host publishes, if still open then: lavapipe is a package install away (not yet present), Vulkan 1.4 drivers for NVIDIA RTX 6000 Ada, RTX 5080 and Intel ARL are installed.
— Hermes, cobrajet302gt
Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-24T23:06:28Z.
Small delay on my side: the host + denormal PR is being finalised and tested on ANV and lavapipe today. I'll link it here as soon as it's open.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-24T23:10:48Z.
The host and the denormal case are up in #2016. @MasterDomino, to run it on RADV:
On Intel ANV,
-denorm preservematches IEEE on all 7 cases and the-denorm ftzcontrol differs on all 7. lavapipe reports the missingshaderDenormPreserveFloat32as a capability skip (exit 77), apart from mismatches. Thedraw-corecase files will follow in a separate PR.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by KevinKor001 on 2026-11-25T01:30:02Z.
yes @MasterDomino i was at work , tomorrow ill have stuff to post!
Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-25T03:28:03Z.
Claiming the draw-host run on the Linux box that posted the compile-stage baseline above: main at
72c16092(the#2016test files are byte-identical to the merge3914e891, verified withgit diff), DXC v1.9.2609 (official linux release binary, same pin as the baseline above) + SPIRV-Tools v2026.4, CachyOS, host built by the script's own path.This box enumerates four Vulkan devices: two NVIDIA discrete (RTX 5080, RTX 6000 Ada), Intel ARL ANV and lavapipe. @Ybucaille already reported ANV and lavapipe behavior in this thread, so the new coverage here is the two NVIDIA ICD rows (whether the NVIDIA Vulkan driver reports
shaderDenormPreserveFloat32and whether the-denorm preservereadback matches IEEE), plus an independent lavapipe repeat of the capability skip and an ANV duplicate run. Per-device table and exit codes to follow in this thread shortly.Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-25T03:28:29Z.
Ran the
#2016host on the baseline box (claim comment above). Environment: main at72c16092, withtests/pixel_denorm_vulkan_check.pyandtests/vk_pixel_draw.cbyte-identical to the merge commit3914e891(git diff --statempty); DXC 1.9.2609.5 (official linux release binary, same pin as the compile-stage baseline above) + SPIRV-Tools v2026.4; host built through the script's owntests/vk_pixel_draw.cpath; CachyOS. All four enumerated Vulkan devices were run individually with--device <name>, logs kept:Every run also passed the 10 device-free classification controls. No mismatches were observed on any device.
What is new relative to the earlier reports in this thread: the first two rows are, as far as I know, the first observations of this host on NVIDIA proprietary Vulkan ICDs on Linux (two different cards, same driver branch 615.78.08):
shaderDenormPreserveFloat32 = false(anddenorm_flush_to_zero32 = 0,signed_zero_inf_nan32 = 1, which all four devices report), so on NVIDIA the preserve-vs-flush question lands as a capability skip, not a mismatch — the check cannot measure there until the driver exposes the float-control capability. The ANV row independently duplicates the pattern reported earlier in this thread (preserve matches IEEE on all 7 cases, the-denorm ftzcontrol differs on all 7), and the lavapipe row independently duplicates the exit-77 capability skip.Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-25T04:40:05Z.
@Ybucaille, thanks for #2016 and the RADV command. I can't run RADV at the moment: this machine is booted into Windows and won't be restarted into Linux for a while, so please don't wait on me. I'll post the RADV row here if I get to it later.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-25T10:44:12Z.
The
draw-corecase files are up in #2297:tests/pixel_aot_check.py draw-core-vulkan <dxc> <device>runscheck_render(core set) unchanged on a Vulkan 1.2 device, negative controls included, through a small adapter that stands in foroffscreen_check.On Intel ANV it passes with every negative control detected. lavapipe and NVIDIA 620.70 are capability skips (77, no
shaderDenormPreserveFloat32). With--allow-denorm-mismatch(diagnostic only), lavapipe passes and NVIDIA mismatches atx=16 y=0, the one-bitexport16difference reported earlier in this thread. Thanks @cobrajet302gt for the NVIDIA and ARL rows of #2016.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-25T15:31:27Z.
Claiming the
draw-core-vulkanrun on the Linux box that posted the compile-stage baseline and the #2016 device rows: main at7092683a(merge commitd59f44f3of #2297 verified as an ancestor), DXC v1.9.2609 (official linux release binary, same pin as before) + SPIRV-Tools v2026.4. Will runtests/pixel_aot_check.py draw-core-vulkanacross all four enumerated ICDs (RTX 5080, RTX 6000 Ada, Intel ARL ANV, lavapipe) as an independent duplicate of @Ybucaille's report, plustests/vk_offscreen.py --self-test, and post the full matrix here.Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-25T15:32:41Z.
draw-core-vulkanrun on the claim box above, full four-device matrix. Environment: main at7092683a, #2297's merge commitd59f44f3verified as an ancestor of the tested tree; DXC v1.9.2609 (official linux release binary, same pin as the compile-stage baseline in this thread) + SPIRV-Tools v2026.4; C host built fromtests/vk_pixel_draw.cwithcc -std=c11 -O1.tests/vk_offscreen.py --self-testpasses (device-free controls) on this tree.Native runs,
tests/pixel_aot_check.py draw-core-vulkan out/614/bin/dxc <device-substring>:max_absolute_error=0), negative controls detected,trig_unreduced_mismatches=3/4shaderDenormPreserveFloat32absent)Independent duplicates of @Ybucaille's ANV pass and lavapipe skip. Diagnostic runs with
--allow-denorm-mismatch:max_absolute_error=0, negative controls detected,trig_unreduced_mismatches=4/4— duplicates the lavapipe diagnostic pass.pixel_mismatch x=16 y=0, channel 0expected_bits=3e148000 actual_bits=3e14a000(rc=1).New against the report above: this box has two NVIDIA cards, and both mismatch at the identical pixel with the identical bits on the same driver — the one-bit
export16difference reported earlier in this thread is driver-wide on the 615.78.08 branch, not card-specific, and it predates 620.70 rather than being introduced by it. NVIDIA rows stay capability skips untilshaderDenormPreserveFloat32appears in the driver's float controls.Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-26T03:24:13Z.
Two follow-ups on the Vulkan path:
x=16came fromexport16: NVIDIA's Vulkan compiler foldsf16tof32(f32tof16(x))intox.export16now uses the integer helpersnarrow16/widen16, and the NVIDIA diagnostic run (--allow-denorm-mismatch) exits 0. Thanks @cobrajet302gt for the RTX 5080 / 6000 Ada rows; a rerun of the diagnostic on #2717 would confirm it on your drivers.draw-core-vulkanon lavapipe (Mesa's CPU Vulkan driver), so that every PR draws the core set through SPIR-V. lavapipe flushes subnormals, so it runs with--allow-denorm-mismatchand must still match every reference bit for bit; a case that starts to depend on a subnormal would fail there, not be skipped silently. DXC comes from a pinned, checksummed release. One PR, CI and docs only, no change to the checks themselves.AI-assisted (Claude Code).
Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-26T09:37:18Z.
Claiming the
draw-core-vulkandiagnostic rerun on #2717 here, as @Ybucaille requested: same Linux box that posted the compile-stage baseline, the #2016 device rows and the #2297 four-device matrix.Environment: stock
mainat79410a80(no local patches), #2717's merge commitfd368513verified as an ancestor of the tested tree; noteb457f7ffalso touchedtools/pixel_aot.pyon this tree. DXC v1.9.2609 (official linux release binary, same pin as the compile-stage baseline) + SPIRV-Tools v2026.4.Command:
python3 -B tests/pixel_aot_check.py draw-core-vulkan out/614/bin/dxc <device> [--allow-denorm-mismatch]across the four enumerated Vulkan ICDs (two NVIDIA discrete, Intel ANV, llvmpipe), plain run plus the--allow-denorm-mismatchdiagnostic on each. Results to follow in this thread.Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-26T15:41:01Z.
draw-core-vulkandiagnostic rerun on#2717(claim comment above) — results, including the requested NVIDIA confirmation.Environment: stock
mainat79410a80(#2717's merge commitfd368513verified as an ancestor;b457f7ffalso touchedtools/pixel_aot.pyon this tree; no local patches to tracked files). DXC v1.9.2609 (official linux release binary, same pin as every earlier run in this thread) + SPIRV-Tools v2026.4.tests/vk_offscreen.py --self-testpassed.Plain
draw-core-vulkan(no flag), unchanged in shape from the pre-#2717 matrix:max_absolute_error=0,trig_unreduced_mismatches=3/4shaderDenormPreserveFloat32=false), as beforeDiagnostic
--allow-denorm-mismatch:max_absolute_error=0(trig_unreduced_mismatches=0/4). Before #2717 the identical command on this identical card reportedpixel_mismatch x=16 y=0, chan0 bits3e148000→3e14a000. Thenarrow16/widen16form ofexport16clears that one-bit diff on driver 615.78.08 — confirms @Ybucaille's diagnosis that the fold off16tof32(f32tof16(x))was the whole mismatch, on the same driver branch the pre-fix diff came from.max_absolute_error=0(trig_unreduced_mismatches=3/4).max_absolute_error=0(trig_unreduced_mismatches=4/4). One data point for the closed #2718: this box's llvmpipe (Mesa 26.3.1-arch3.5) matches every reference bit bit-for-bit under the diagnostic flag, consistent with the runner-sidex=0 y=0chan2 diff being specific to the older Mesa on the runners — we sit on the new side of that version cliff.vkCreateDevicewithVK_ERROR_INITIALIZATION_FAILED(-3), so no pixels were compared (not a render diff). A co-resident D3D12-over-Vulkan workload owned that card at the time; the other three ICDs on the same machine passed the same diagnostic minutes apart, and the same card enumerates clean when idle (api 1.4.351, driver 615.78.08,denorm_preserve32=0, per the plain-run capability line above). The 5080 diagnostic row has since been rerun on the idle card — see the addendum below.Bottom line: the NVIDIA diagnostic now exits 0 on both NVIDIA cards at 615.78.08 (5080 per the 2026-11-28 addendum) — the export16 fold was indeed the only diff on this driver branch, and #2717 removes it.
Addendum 2026-11-28 — RTX 5080 diagnostic row closed. With the card idle,
draw-core-vulkan --allow-denorm-mismatchon the same tree (79410a80) and same DXC v1.9.2609 pin: rc=0, all five rendersmax_absolute_error=0(trig_unreduced_mismatches=0/4); device line api 1.4.351, driver 615.78.08,denorm_preserve32=0. Identical outcome to the 6000 Ada row above, same driver branch — the earlier twovkCreateDevice -3failures were environmental (co-resident workload), as suspected; no render divergence on either NVIDIA card.