Repository navigation
Conversation
A DIM without layers reported depth 1: DIM 1D and 2D on both paths, and the direct translator's 2D MSAA query. RDNA2 reports 0 there: AnyPS5's measurements (gfx1031 #7550: the third component is 0 for every DIM without layers; gfx1036: a 2D MSAA T# under DIM 1D, 2D and 2D_MSAA gives (width, height, 0, 1)). The tests that encoded depth 1 now expect 0, and a test of DIM 2D on a 4-sample T# is added. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent Intel Arc A770 compatibility check for PR #2054 at Tested
$testExe = 'L:/XclTooling/pr1844-71f2ceb-t3-737e5ee5/target/debug/build/xcl/97fdf2b9ff8e1482/out/xcl-97fdf2b9ff8e1482.exe'
$common = @(
'gpu::recomp::tests::gpu_image_get_resinfo_dim_2d_of_an_msaa_tsharp',
'gpu::recomp::tests::gpu_images_sample_load_store_atomic'
)
$expectedTests = $common + @(
'gpu::dxil::msaa_tests::gpu_direct_msaa_image_loads',
'gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16'
)
& 'L:/XclTooling/Invoke-ArcTest.ps1' -WaitMinutes 60 -Test {
$env:XCL_DIRECT_DXIL = '0'
& $testExe @common --exact --nocapture --test-threads=1
$hlslExit = $LASTEXITCODE
$env:XCL_DIRECT_DXIL = '1'
& $testExe @expectedTests --exact --nocapture --test-threads=1
$directExit = $LASTEXITCODE
$global:LASTEXITCODE = if ($hlslExit -ne 0) { $hlslExit } else { $directExit }
}
Not tested DIM 1D, the separate DIM 4 array case from #2046, the AI use T3 Code / Codex ( |
|
A run with vkd3d-proton as the host D3D12. The DXIL goes through dxil-spirv and then the NVIDIA Vulkan driver, a different compiler from a native-Windows run: this PR's new test passes. Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Heads up: this PR's new tsharp test fails deterministically on RDNA3 under Linux/Wine, but not on the depth field the PR fixes. The mip count is what differs. Rig: RX 7900 XT (RDNA3, RADV NAVI31, Mesa 26.2.5), Proton Experimental (wine-11.0) + the xcl-pinned vkd3d-proton 3.1 build, DXC 1.9.2609.5, release build, tree main
Notes:
The PR's other new resinfo/MSAA tests all pass here: Counts only, no game data. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
image_get_resinforeported a depth (third component) of 1 for a DIM without layers: DIM 1D and 2D on both paths, and the direct translator's 2D MSAA query. RDNA2 reports 0 there. The sources are boykopovar/AnyPS5's measurements, recorded in theirdocs/dev/debt/shader.md:(width, height, 0, 1)under DIM 1D, 2D and 2D_MSAA, in wave32 and wave64 (AnyPS5 #25723).What is in it
recomp/emit.rs: DIM 1D and 2D set{t}_d = 0uinstead of1u.dxil/lower_image.rs: the same for DIM 1D and 2D, and the 2D MSAA query's depth is 0 (the MSAA array keeps its slice count).gpu_images_sample_load_store_atomic(2D), and inmsaa_tests.rs,gpu_direct_msaa_image_loads(2D MSAA) andgpu_direct_image_get_resinfo_d16. A newgpu_image_get_resinfo_dim_2d_of_an_msaa_tsharpcovers DIM 2D on a 4-sample T#. Onmainit gives[4, 2, 1, 1]on both paths.Tested
main5ce558f:gpu_tests (--skip gpu_sparse_vram): 133 passed withXCL_DIRECT_DXIL=0; with1, 132 passed and 1 failed,gpu_image_get_resinfo_1d_array, which fails the same way onmain(Direct DXIL: image_get_resinfo of a 1D array gives the layers in y #2046 fixes it; the two PRs merge cleanly).dxil::,resinfoandmsaaunits: 140 passed.Regression run
I have no retail title here. Could someone with one post the
xcl-smokeblocks formainand this head?Not tested
AI use
🤖 Generated with Claude Code