Repository navigation
Conversation
|
Windows + GPU check: RTX 5080 + RTX 3070 Ti (NVIDIA 621.01) and AMD Radeon 610M iGPU (Ryzen 9 9950X3D, driver 32.0.13018.6), Windows 11, MSVC RelWithDebInfo/Ninja, CMake 4.4.5, glslang 16.6.0, spirv-tools v2026.4, llvm-mc via scripts/build_llvm_mc.ps1. Tested head 891b772 (base 4eb6155; PR currently conflicts with main).
Synthetic fixtures only, no game files. AI-assisted (opencode); runs on my machine. |
|
Tested 891b772 on an RX 9060 XT (RDNA4, GFX1200), RADV Mesa 27.0.0-devel, Nobara Linux (Fedora 44): pass This is the RADV run the description asks for. RADV reports
I didn't exercise the TYPELESS → R64 view path or a vertex/fragment-stage atomic, which the PR leaves out too. AI-assisted (Claude Code). |
891b772 to
620b1a5
Compare
|
Re-check after rebase. Windows + GPU check: NVIDIA GeForce RTX 5080 (driver 621.01) + AMD Radeon 610M iGPU (driver 32.0.13018.6), Windows 11, MSVC (VS BuildTools 18) + Ninja, RelWithDebInfo, Vulkan SDK headers fetched. Tested head The Build: clean, 214 targets. Targeted,
Python:
Full suite (
The PR's unstable CI state did not reproduce locally. Synthetic fixtures only, no game files. AI-assisted (opencode); runs on my machine. |
|
Tested 620b1a5 on Windows 11 (MSVC BuildTools 2022, Ninja, RelWithDebInfo, -j 4; no Vulkan validation layer installed), one GPU at a time, device line confirmed: AMD Radeon RDNA2 iGPU (driver 26.10.1) and NVIDIA RTX 5080 (driver 616.92). Ran AI-assisted. |
|
Tested |
|
Clash with #4312, found by merging open PRs that touch
Cause: #4312 (D3D-448) moves a D3D12 compute PSO's root arguments to start at s4. Every D3D12 test that reuses an Fix, for whichever of the two lands second (here once #4312 is in; or in #4312 if this one merges first): add_custom_command(
OUTPUT ${LEONIDA_ATOMIC64_FILES}
COMMAND ${CMAKE_COMMAND} -E env "LLVM_MC=${LEONIDA_LLVM_MC}" "LEONIDA_SPIRV_TOOLS=${LEONIDA_SPIRV_TOOLS_NATIVE}"
+ LEONIDA_USER_DATA_SHIFT=4
$<TARGET_FILE:Python3::Interpreter> -I ${CMAKE_CURRENT_SOURCE_DIR}/test/shaders/build.py
${LEONIDA_ATOMIC64_DIR} cs_imgatomic64With it, on AI-assisted (Claude Code). |
620b1a5 to
647ccef
Compare
|
@ddm-j Thanks for bisecting the #4312 clash. #4312 isn't on AI-assisted. |
|
Tested 647ccef on Intel UHD 770, driver 32.0.101.7088, Windows 11, MSVC: d3d12_imgatomic64_test builds and exits 77 (skip), with and without the Khronos validation layer (0 validation lines), printing "unsupported: D3D12 OPTIONS9 has no typed 64-bit atomics". The 64/64 texel readback therefore did not run on this GPU. The ctest entry, the translator tests and the GPU suite were not run. AI-assisted. |
|
Tested 647ccef on Intel UHD 630 (Coffee Lake GT2), Mesa 25.2.8 ANV, Ubuntu 24.04: the device reports VK_EXT_shader_image_atomic_int64 (revision 1) with shaderImageInt64Atomics = true and sparseImageInt64Atomics = false, so it can run the image Int64 atomic path (the Intel UHD 770 on Windows reports no typed 64-bit atomics and skips d3d12_imgatomic64_test). test_image_atomic64 and test_image_atomics_32 pass (6 tests) and the full build succeeds. run_gpu_tests.py --filter cs_imgatomic64 translates and passes spirv-val but skips with "the typed image atomic test uses the Windows D3D12 layer", and the control with a nonexistent device name skips identically, so d3d12_imgatomic64_test's 64/64 readback was not run here and has no Linux target. AI-assisted. |
|
Native RTX 4080 validation of
Synthetic fixtures only. AI-assisted. |
kacper-serewis
left a comment
There was a problem hiding this comment.
Native Windows RTX 5070, NVIDIA 616.56, at 647ccef: the D3D12 synthetic 2D and array UAV dispatches returned all 64 expected 64-bit texels. Changing a single expected high word while preserving its low word gave exactly one mismatch; restoring it returned 64/64. Vulkan advertised shaderImageInt64Atomics and atomic storage-image support for R64_UINT and R64_SINT, OPTIONS9 passed, and the emitted feature metadata and Vulkan validation agreed. All three translator tests passed. LLVM 21 under WSL assembled the fixture. AI-assisted independent review.
PR #2058 gövde taslağı (rebase sonrası; GÖNDERİLMEDİ — head kararı beklenir)
Not: Yalnızca "Tested" bölümü ve rebase uyarlama notu güncellendi; ilk bölümler (claim, What and why,
Behaviour change, Scope, Checklist) değişmedi, buraya kopyalanacak. Diff karşılaştırması için
scratch\d3d251\rebase1.md.
Rebased onto current
main(aa2988cc) and re-tested. Conflict resolutions kept both sides' intent; one adaptationwas needed for upstream's new FSSM publication gate (
cs_fssm_extrainruntime/test/shaders/build.py):cs_imgatomic64.asmnow carries; fssm-at: 0x150/; fssm-data: ...header words — the same pattern ascs_buf_counter— so its synthetic FSSM is published for the D3D12 test without publishing every compute sidecar.The new test's
initialconstant was renamed toinitial_rows: upstream's newadd_fence(..., std::uint64_t initial)in
runtime/src/queue_holds.hmade MSVC warn C4459 at its parameter.Tested (after the rebase, on
aa2988cc+ this change)Tested on: Windows 11 / MSVC / NVIDIA GeForce RTX 5070 Ti / NVIDIA driver (Vulkan SDK 1.4.363.0), Ninja
RelWithDebInfo,
-j 4.python -m unittest discover -s tests/semantic— 7,459 tests: the newtest_image_atomic64passes; 7 failures + 2 errors remain intest_loop_ballot_barrier,test_cmp_class_f64andtest_mutations, and the identical 9 occur on a cleanmaincheckout (aa2988cc) — none is introduced here.regen_fixtures.py --check: clean (exit 0).mainbuild shows the same two remaining warnings: one glslang note forps_sg_probe.fragand one C4456 atxgameruntime_test.cpp:492).ctest(155 tests): 154 passed, the rest skipped (game-data tests), 0 failed, 0 VUID — both plain and withLEONIDA_VK_VALIDATION=1. On cleanmainthe same suite passes except a flakyrun_tiny_game_dir(game-folderresolution; it passes in the same build's validation run).
d3d12_imgatomic64_test): 64/64 texels exact, both plain and with validation enabled.python -I scripts/run_gpu_tests.py— 215/215 translated andspirv-valclean (the suite has grown onmain), 165/211 passed, 46 skipped, 0 errors. WithLEONIDA_W64_EMULATE=1: 196/211 passed, 15 skipped, 0 errors.cs_imgatomic64passes in both modes ("64/64 texels exact").Overlap: #3780 (@kotorvr) enables
fragmentStoresAndAtomics/vertexPipelineStoresAndAtomicsunconditionally; the two touch the same two lines increate_vulkan_device_standalone. Whichever lands second rebases; if #3780 goes first, the two assignments in this PR'simage_int64_atomicsblock become redundant and are dropped.AI-assisted.