gpu: test acceleration structure updates on DXR Tier 1.0 #814

Merged
Jess-Doit merged 1 commit from upstream-pr/820 into main 2026-11-23 08:51:18 +00:00
Jess-Doit commented 2026-11-23 08:38:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Jess-Doit on 2026-11-23T08:38:00Z.


Summary

  • Run the existing seven-ray BLAS/TLAS update fixture through the lib_6_3 DispatchRays pipeline on DXR Tier 1.0. The inline RayQuery test remains available on Tier 1.1.
  • Keep ALLOW_UPDATE on both acceleration structures when adding PERFORM_UPDATE for the refit. The GTX 1060 test lost its D3D12 device with PERFORM_UPDATE alone. The same test passed with both flags.
  • Compare all 28 output words with a fresh rebuild and check the existing CPU reference. Stale-scene and stale-instance controls differ on rays 0–3. The stale-vertex control differs on rays 2, 3 and 6.

Refs #641

Verification

Windows 10 22H2 build 19045.6456. The GTX 1060 6 GB (32.0.15.6094) passed DispatchRays and skipped inline RayQuery at Tier 1.0. Windows 10 in-box WARP (10.0.19041.5794) skipped both at DXR tier 0. App-local WARP 1.0.22 with Agility SDK 1.620.2 passed both paths. All six passing update runs and the neighboring GPU checks reported zero D3D12 debug warnings and errors.

Built offscreen_check in Debug and Release. From the repository root, ran the following against the configured build directories.

$env:XBOX2WINDOWS_ADAPTER = 'GTX 1060'
foreach ($preset in 'dev', 'release') {
    ctest --preset $preset --no-tests=error -V -R '^(dxr_(pipeline|query|update|update_pipeline|facing|opacity)|bvh_(hits|differential|differential_pipeline))_(hardware|warp)$|^docs_links$'
    ctest --test-dir "out/build/app-local-$preset" --no-tests=error -V -R '^(dxr_(pipeline|query|update|update_pipeline|facing|opacity)|bvh_(hits|differential|differential_pipeline))_warp$|^app_local_warp_toggle$'
}

Each in-box run had 5 passes and 13 capability skips. Each app-local run had 10 passes. No test failed in the final matrix.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6555473769 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/820). Originally posted by [Jess-Doit](https://github.com/Jess-Doit) on 2026-11-23T08:38:00Z. --- ## Summary - Run the existing seven-ray BLAS/TLAS update fixture through the `lib_6_3` DispatchRays pipeline on DXR Tier 1.0. The inline RayQuery test remains available on Tier 1.1. - Keep `ALLOW_UPDATE` on both acceleration structures when adding `PERFORM_UPDATE` for the refit. The GTX 1060 test lost its D3D12 device with `PERFORM_UPDATE` alone. The same test passed with both flags. - Compare all 28 output words with a fresh rebuild and check the existing CPU reference. Stale-scene and stale-instance controls differ on rays 0–3. The stale-vertex control differs on rays 2, 3 and 6. Refs #641 ## Verification Windows 10 22H2 build 19045.6456. The GTX 1060 6 GB (32.0.15.6094) passed DispatchRays and skipped inline RayQuery at Tier 1.0. Windows 10 in-box WARP (10.0.19041.5794) skipped both at DXR tier 0. App-local WARP 1.0.22 with Agility SDK 1.620.2 passed both paths. All six passing update runs and the neighboring GPU checks reported zero D3D12 debug warnings and errors. Built `offscreen_check` in Debug and Release. From the repository root, ran the following against the configured build directories. ```powershell $env:XBOX2WINDOWS_ADAPTER = 'GTX 1060' foreach ($preset in 'dev', 'release') { ctest --preset $preset --no-tests=error -V -R '^(dxr_(pipeline|query|update|update_pipeline|facing|opacity)|bvh_(hits|differential|differential_pipeline))_(hardware|warp)$|^docs_links$' ctest --test-dir "out/build/app-local-$preset" --no-tests=error -V -R '^(dxr_(pipeline|query|update|update_pipeline|facing|opacity)|bvh_(hits|differential|differential_pipeline))_warp$|^app_local_warp_toggle$' } ``` Each in-box run had 5 passes and 13 capability skips. Each app-local run had 10 passes. No test failed in the final matrix.
upstream-sync closed this pull request 2026-11-24 06:44:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
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!814
No description provided.