gpu: replace offscreen_check dispatch chain with capability table #679

Merged
Ammmae0x merged 3 commits from upstream-pr/685 into main 2026-11-22 23:24:15 +00:00
Ammmae0x commented 2026-11-22 19:59:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ammmae0x on 2026-11-22T19:59:18Z.


Change

Fixes #166. Merged upstream/main (787ace7) cleanly into gpu/offscreen-capability-table, integrating --spirv-compare-sampler (kGateSm66CompareSampler) and updating --spirv-sampler-views to kGateSm60SamplerViews (SM 6.0) to match upstream/main.

Replaces the ad-hoc if/else operation dispatch chain and implicit bool -> 77 skip convention in tests/offscreen_check.cpp with a declarative operation capability table and explicit outcome types:

  • Shared adapter capability query (AdapterCaps / query_adapter_caps): Queries D3D12 shader model (up to 6.6), Int64ShaderOps, WaveOps, and native wave lane range once per device while preserving existing shader_model_capped_at_6_0, shader_model_capped_at_6_5, and native_lane_range=... shader_model_capped_at_6_6=... stdout diagnostics.
  • Explicit outcomes (OutcomeKind / OperationResult): Separates pass, skip, and fail so handlers cannot implicitly turn arbitrary failures into exit 77. Only the runner (run_operation_spec) maps unmet gates or OutcomeKind::skip to exit 77, OutcomeKind::pass (with zero D3D12 debug errors) to exit 0, and OutcomeKind::fail or thrown exceptions to exit 1.
  • Operation table & pre-device CLI validation (OperationSpec / kOperations / resolve_cli): Declares argument arity bounds, optional flag predicates (--check-pixel, --mesh-entry, --mesh-entry-table, --compute-mesh-texture), and static CapabilityGate prerequisites for all 56 --* operations, plus positional draw (argc == 3 || argc == 5). Invalid commands, argument counts, and flags fail with exit 2 (Unknown GPU operation or invalid arguments: ...) before creating a D3D12 device or output image.
  • Negative controls:
    • Added offscreen_capability_table_self_test (offscreen_check --self-test) in CMakeLists.txt verifying CLI validation (exit 2, including --spirv-sampler-views and --spirv-compare-sampler arity bounds), unmet CapabilityGate skipping with named reason and without invoking the handler (exit 77), and handler OutcomeKind::fail / thrown exception exiting 1 (never 77).
    • Extended tests/offscreen_invalid_operation.cmake with invalid --check-pixel flag and invalid positional draw arity checks (confirming exit 2 and no output image created).

Verification

  • Commit: 9c05e76f0bcf8221ca84ae4af48b0ec5bebd750b (merged upstream/main at 787ace7)
  • Toolchain / OS: Windows 11 (26100.7623), MSVC (tools/dev.ps1), debug_layer=unavailable
  • Hardware (active DXGI adapter): Intel(R) UHD Graphics (vendor=8086 device=a7a8), driver 32.0.101.6314, native lane range 16..16, dxr_tier=0
  • WARP: Microsoft Basic Render Driver (vendor=1414 device=008c), driver 10.0.26100.7309, native lane range 4..4, dxr_tier=11

Commands run:

& .\tools\dev.ps1 | Out-Null
cmake --preset dev
cmake --build --preset dev --target offscreen_check
ctest --preset dev --no-tests=error -R "^(offscreen_|compute_root_|compute_tables_|ffx_|dual_uav_|texture_mips_|dxr_|bvh_|gpu_alias|wave_shuffle_|adapter_selection)" -V

cmake --preset release
cmake --build --preset release --target offscreen_check
ctest --preset release --no-tests=error -R "^(offscreen_|compute_root_|compute_tables_|ffx_|dual_uav_|texture_mips_|dxr_|bvh_|gpu_alias|wave_shuffle_|adapter_selection)" -V

Observed results:

  • Both dev (Debug) and release (/O2) offscreen_check builds completed with 0 errors and 0 compiler warnings.
  • dev CTest (6.24s): 53 passed, 9 skipped (exit 77), 1 failed out of 63 (ffx_immediate_float_to_int_warp, ffx_float_to_int_warp, ffx_pass26_lds_warp, and offscreen_capability_table_self_test included).
  • release CTest (4.92s): 53 passed, 9 skipped (exit 77), 1 failed out of 63 (same pass/skip/fail breakdown).
  • Capability skips (9): dxr_query_hardware, dxr_pipeline_hardware, dxr_update_hardware, dxr_facing_hardware, dxr_opacity_hardware, bvh_differential_hardware (dxr_tier=0 on Intel(R) UHD Graphics), bvh_wave64_hardware (16-lane adapter), bvh_wave64_warp, and wave_shuffle_warp (4-lane WARP adapter).
  • Failure (1, adapter-specific): gpu_alias_lookup_writes_hardware exited 1 on Intel(R) UHD Graphics (array_atomics threads=256 buffers=4 expected=64 actual=256,192,128,64: InterlockedAdd through a per-thread index into a UAV array is not applied once per thread on this Intel driver; gpu_alias_lookup_writes_warp passed). Confirming this exits 1 rather than being swallowed as exit 77 validates the OutcomeKind::fail separation.
  • tools/gpu-check/Run-GpuCheck.ps1 against release offscreen_check.exe:
    • -Backend warp: 10 PASS, 1 SKIP (bvh_wave64_warp), 0 FAIL (exit 0).
    • -Backend hardware (Intel(R) UHD Graphics): 7 PASS, 4 SKIP (bvh_wave64_hardware, bvh_differential_hardware, dxr_pipeline_hardware, dxr_update_hardware), 0 FAIL (exit 0).
  • tests/bidi_controls_check.py: passed (Checked 604 tracked source, script and build/CI files: no bidirectional controls.).
  • Not run locally: spirv_* CTests (spirv_sampler_views_*, spirv_compare_sampler_*, spirv_address_window_*, spirv_ballot_extract_*) were not configured because SPIRV_WINDOW_AS / SPIRV_WINDOW_VAL / SPIRV_WINDOW_CROSS (spirv-as, spirv-val, spirv-cross) are not installed; --spirv-sampler-views and --spirv-compare-sampler CLI validation were verified in offscreen_capability_table_self_test.

Evidence and follow-up

  • Self-contained refactor of tests/offscreen_check.cpp plus test-only self-test and negative-control additions in CMakeLists.txt and tests/offscreen_invalid_operation.cmake; no new external fixtures, no public capability or build requirement changes.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed. (No capability or build requirement changed.)
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6547065082 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/685). Originally posted by [Ammmae0x](https://github.com/Ammmae0x) on 2026-11-22T19:59:18Z. --- ## Change Fixes #166. Merged `upstream/main` (`787ace7`) cleanly into `gpu/offscreen-capability-table`, integrating `--spirv-compare-sampler` (`kGateSm66CompareSampler`) and updating `--spirv-sampler-views` to `kGateSm60SamplerViews` (SM 6.0) to match `upstream/main`. Replaces the ad-hoc `if`/`else` operation dispatch chain and implicit `bool -> 77` skip convention in `tests/offscreen_check.cpp` with a declarative operation capability table and explicit outcome types: - **Shared adapter capability query (`AdapterCaps` / `query_adapter_caps`)**: Queries D3D12 shader model (up to 6.6), `Int64ShaderOps`, `WaveOps`, and native wave lane range once per device while preserving existing `shader_model_capped_at_6_0`, `shader_model_capped_at_6_5`, and `native_lane_range=... shader_model_capped_at_6_6=...` stdout diagnostics. - **Explicit outcomes (`OutcomeKind` / `OperationResult`)**: Separates `pass`, `skip`, and `fail` so handlers cannot implicitly turn arbitrary failures into exit `77`. Only the runner (`run_operation_spec`) maps unmet gates or `OutcomeKind::skip` to exit `77`, `OutcomeKind::pass` (with zero D3D12 debug errors) to exit `0`, and `OutcomeKind::fail` or thrown exceptions to exit `1`. - **Operation table & pre-device CLI validation (`OperationSpec` / `kOperations` / `resolve_cli`)**: Declares argument arity bounds, optional flag predicates (`--check-pixel`, `--mesh-entry`, `--mesh-entry-table`, `--compute-mesh-texture`), and static `CapabilityGate` prerequisites for all 56 `--*` operations, plus positional `draw` (`argc == 3 || argc == 5`). Invalid commands, argument counts, and flags fail with exit `2` (`Unknown GPU operation or invalid arguments: ...`) before creating a D3D12 device or output image. - **Negative controls**: - Added `offscreen_capability_table_self_test` (`offscreen_check --self-test`) in `CMakeLists.txt` verifying CLI validation (exit `2`, including `--spirv-sampler-views` and `--spirv-compare-sampler` arity bounds), unmet `CapabilityGate` skipping with named reason and without invoking the handler (exit `77`), and handler `OutcomeKind::fail` / thrown exception exiting `1` (never `77`). - Extended `tests/offscreen_invalid_operation.cmake` with invalid `--check-pixel` flag and invalid positional `draw` arity checks (confirming exit `2` and no output image created). ## Verification - **Commit**: `9c05e76f0bcf8221ca84ae4af48b0ec5bebd750b` (merged `upstream/main` at `787ace7`) - **Toolchain / OS**: Windows 11 (`26100.7623`), MSVC (`tools/dev.ps1`), `debug_layer=unavailable` - **Hardware (active DXGI adapter)**: `Intel(R) UHD Graphics` (`vendor=8086 device=a7a8`), driver `32.0.101.6314`, native lane range `16..16`, `dxr_tier=0` - **WARP**: `Microsoft Basic Render Driver` (`vendor=1414 device=008c`), driver `10.0.26100.7309`, native lane range `4..4`, `dxr_tier=11` Commands run: ```powershell & .\tools\dev.ps1 | Out-Null cmake --preset dev cmake --build --preset dev --target offscreen_check ctest --preset dev --no-tests=error -R "^(offscreen_|compute_root_|compute_tables_|ffx_|dual_uav_|texture_mips_|dxr_|bvh_|gpu_alias|wave_shuffle_|adapter_selection)" -V cmake --preset release cmake --build --preset release --target offscreen_check ctest --preset release --no-tests=error -R "^(offscreen_|compute_root_|compute_tables_|ffx_|dual_uav_|texture_mips_|dxr_|bvh_|gpu_alias|wave_shuffle_|adapter_selection)" -V ``` Observed results: - Both `dev` (Debug) and `release` (`/O2`) `offscreen_check` builds completed with 0 errors and 0 compiler warnings. - `dev` CTest (`6.24s`): **53 passed, 9 skipped (exit 77), 1 failed** out of 63 (`ffx_immediate_float_to_int_warp`, `ffx_float_to_int_warp`, `ffx_pass26_lds_warp`, and `offscreen_capability_table_self_test` included). - `release` CTest (`4.92s`): **53 passed, 9 skipped (exit 77), 1 failed** out of 63 (same pass/skip/fail breakdown). - **Capability skips (9)**: `dxr_query_hardware`, `dxr_pipeline_hardware`, `dxr_update_hardware`, `dxr_facing_hardware`, `dxr_opacity_hardware`, `bvh_differential_hardware` (`dxr_tier=0` on `Intel(R) UHD Graphics`), `bvh_wave64_hardware` (16-lane adapter), `bvh_wave64_warp`, and `wave_shuffle_warp` (4-lane WARP adapter). - **Failure (1, adapter-specific)**: `gpu_alias_lookup_writes_hardware` exited `1` on `Intel(R) UHD Graphics` (`array_atomics threads=256 buffers=4 expected=64 actual=256,192,128,64`: `InterlockedAdd` through a per-thread index into a UAV array is not applied once per thread on this Intel driver; `gpu_alias_lookup_writes_warp` passed). Confirming this exits `1` rather than being swallowed as exit `77` validates the `OutcomeKind::fail` separation. - `tools/gpu-check/Run-GpuCheck.ps1` against release `offscreen_check.exe`: - `-Backend warp`: **10 PASS, 1 SKIP (`bvh_wave64_warp`), 0 FAIL** (exit `0`). - `-Backend hardware` (`Intel(R) UHD Graphics`): **7 PASS, 4 SKIP (`bvh_wave64_hardware`, `bvh_differential_hardware`, `dxr_pipeline_hardware`, `dxr_update_hardware`), 0 FAIL** (exit `0`). - `tests/bidi_controls_check.py`: passed (`Checked 604 tracked source, script and build/CI files: no bidirectional controls.`). - Not run locally: `spirv_*` CTests (`spirv_sampler_views_*`, `spirv_compare_sampler_*`, `spirv_address_window_*`, `spirv_ballot_extract_*`) were not configured because `SPIRV_WINDOW_AS` / `SPIRV_WINDOW_VAL` / `SPIRV_WINDOW_CROSS` (`spirv-as`, `spirv-val`, `spirv-cross`) are not installed; `--spirv-sampler-views` and `--spirv-compare-sampler` CLI validation were verified in `offscreen_capability_table_self_test`. ## Evidence and follow-up - Self-contained refactor of `tests/offscreen_check.cpp` plus test-only self-test and negative-control additions in `CMakeLists.txt` and `tests/offscreen_invalid_operation.cmake`; no new external fixtures, no public capability or build requirement changes. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [ ] I updated README/docs when a capability or build requirement changed. (No capability or build requirement changed.) - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted.
upstream-sync closed this pull request 2026-11-24 06:44:19 +00:00
legacy-code-archaeologist commented 2026-11-24 06:48:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-22T22:16:19Z.


Coordination note for #166: @lambirou claimed this issue on 2026-11-21 and proposed a table/handler split, which raulmoracode agreed with. The maintainer had asked for a lead design decision first. I found no open or merged PR from that claim. It may be worth confirming that no parallel branch exists, and whether this PR follows the agreed split: the table owns argument shapes and unconditional prerequisites, and handlers own scenario-dependent checks.

I'll run the before/after skip and pass comparison on a Quadro M1000M, an Intel HD 530 and WARP once a build finishes. The change moves where exit 77 is decided, so adapters without DXR or wave64 are a useful check.

AI-assisted (Claude Code).

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7086687334 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/685#issuecomment-7086687334). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-22T22:16:19Z. --- Coordination note for #166: @lambirou claimed this issue on 2026-11-21 and proposed a table/handler split, which raulmoracode agreed with. The maintainer had asked for a lead design decision first. I found no open or merged PR from that claim. It may be worth confirming that no parallel branch exists, and whether this PR follows the agreed split: the table owns argument shapes and unconditional prerequisites, and handlers own scenario-dependent checks. I'll run the before/after skip and pass comparison on a Quadro M1000M, an Intel HD 530 and WARP once a build finishes. The change moves where exit 77 is decided, so adapters without DXR or wave64 are a useful check. AI-assisted (Claude Code).
legacy-code-archaeologist commented 2026-11-24 06:48:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by legacy-code-archaeologist on 2026-11-22T22:20:32Z.


Before/after comparison as announced: main at 6f48648 vs this PR at 2401185. Each was built with the dev preset on Windows 11 26100.9168, MSVC 19.52.37029, with the debug layer not installed. For each adapter I ran ctest --preset dev --no-tests=error -R '^(bvh_|dxr_|wave_|offscreen_|compute_root|compute_tables|dual_uav|texture_mips)' with XBOX2WINDOWS_ADAPTER set.

Adapter main this PR Changed results
NVIDIA Quadro M1000M (32.0.15.7371; no DXR, lanes 32..32) 35 passed, 9 skipped 36 passed, 9 skipped none; only the new offscreen_capability_table_self_test (passed)
Intel HD Graphics 530 (31.0.101.2111; no DXR, lanes 16..16, SM 6.5) 34 passed, 10 skipped 35 passed, 10 skipped none; only the new offscreen_capability_table_self_test (passed)

Every one of the 44 existing tests keeps the same outcome on both adapters: no pass became a skip or failure, and no skip became a pass. On these capability-limited adapters, moving the exit-77 decision into the table preserves the current skips.

Skipped with this PR on the Quadro: 42 - dxr_query_hardware (Skipped) 43 - dxr_pipeline_hardware (Skipped) 44 - dxr_update_hardware (Skipped) 45 - dxr_facing_hardware (Skipped) 46 - dxr_opacity_hardware (Skipped) 55 - bvh_wave64_hardware (Skipped) 57 - bvh_differential_hardware (Skipped) 81 - bvh_wave64_warp (Skipped) 87 - wave_shuffle_warp (Skipped) bvh_differential_hardware bvh_wave64_hardware bvh_wave64_warp dxr_facing_hardware dxr_opacity_hardware dxr_pipeline_hardware dxr_query_hardware dxr_update_hardware wave_shuffle_warp
Skipped with this PR on the Intel adapter: 42 - dxr_query_hardware (Skipped) 43 - dxr_pipeline_hardware (Skipped) 44 - dxr_update_hardware (Skipped) 45 - dxr_facing_hardware (Skipped) 46 - dxr_opacity_hardware (Skipped) 55 - bvh_wave64_hardware (Skipped) 57 - bvh_differential_hardware (Skipped) 61 - wave_shuffle_hardware (Skipped) 81 - bvh_wave64_warp (Skipped) 87 - wave_shuffle_warp (Skipped) bvh_differential_hardware bvh_wave64_hardware bvh_wave64_warp dxr_facing_hardware dxr_opacity_hardware dxr_pipeline_hardware dxr_query_hardware dxr_update_hardware wave_shuffle_hardware wave_shuffle_warp

AI-assisted: run and compared with Claude Code; outputs from the local ctest logs.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7086742179 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/685#issuecomment-7086742179). Originally posted by [legacy-code-archaeologist](https://github.com/legacy-code-archaeologist) on 2026-11-22T22:20:32Z. --- Before/after comparison as announced: `main` at `6f48648` vs this PR at `2401185`. Each was built with the `dev` preset on Windows 11 26100.9168, MSVC 19.52.37029, with the debug layer not installed. For each adapter I ran `ctest --preset dev --no-tests=error -R '^(bvh_|dxr_|wave_|offscreen_|compute_root|compute_tables|dual_uav|texture_mips)'` with `XBOX2WINDOWS_ADAPTER` set. | Adapter | `main` | this PR | Changed results | |---|---|---|---| | NVIDIA Quadro M1000M (32.0.15.7371; no DXR, lanes 32..32) | 35 passed, 9 skipped | 36 passed, 9 skipped | none; only the new `offscreen_capability_table_self_test` (passed) | | Intel HD Graphics 530 (31.0.101.2111; no DXR, lanes 16..16, SM 6.5) | 34 passed, 10 skipped | 35 passed, 10 skipped | none; only the new `offscreen_capability_table_self_test` (passed) | Every one of the 44 existing tests keeps the same outcome on both adapters: no pass became a skip or failure, and no skip became a pass. On these capability-limited adapters, moving the exit-77 decision into the table preserves the current skips. Skipped with this PR on the Quadro: ` 42 - dxr_query_hardware (Skipped) 43 - dxr_pipeline_hardware (Skipped) 44 - dxr_update_hardware (Skipped) 45 - dxr_facing_hardware (Skipped) 46 - dxr_opacity_hardware (Skipped) 55 - bvh_wave64_hardware (Skipped) 57 - bvh_differential_hardware (Skipped) 81 - bvh_wave64_warp (Skipped) 87 - wave_shuffle_warp (Skipped) bvh_differential_hardware bvh_wave64_hardware bvh_wave64_warp dxr_facing_hardware dxr_opacity_hardware dxr_pipeline_hardware dxr_query_hardware dxr_update_hardware wave_shuffle_warp ` Skipped with this PR on the Intel adapter: ` 42 - dxr_query_hardware (Skipped) 43 - dxr_pipeline_hardware (Skipped) 44 - dxr_update_hardware (Skipped) 45 - dxr_facing_hardware (Skipped) 46 - dxr_opacity_hardware (Skipped) 55 - bvh_wave64_hardware (Skipped) 57 - bvh_differential_hardware (Skipped) 61 - wave_shuffle_hardware (Skipped) 81 - bvh_wave64_warp (Skipped) 87 - wave_shuffle_warp (Skipped) bvh_differential_hardware bvh_wave64_hardware bvh_wave64_warp dxr_facing_hardware dxr_opacity_hardware dxr_pipeline_hardware dxr_query_hardware dxr_update_hardware wave_shuffle_hardware wave_shuffle_warp ` AI-assisted: run and compared with Claude Code; outputs from the local ctest logs.
Ammmae0x commented 2026-11-24 06:48:50 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by Ammmae0x on 2026-11-22T22:59:44Z.


Thanks @legacy-code-archaeologist for the coordination note and for running the before/after comparison on the Quadro M1000M and Intel HD Graphics 530!

  1. No parallel branch & table/handler split: No competing PR was open for #166, and this implementation follows the table/handler split:
    • kOperations (OperationSpec), resolve_cli, and evaluate_gate own static argument shapes/flag validation (exit 2 before device creation) and unconditional adapter prerequisites via CapabilityGate (exit 77 without invoking the handler).
    • Individual handlers retain scenario-dependent checks (such as DXR tier, mesh shader tier, existing-heap E_NOTIMPL, and forced wave width support) and return explicit OperationResult (pass, skip, fail) so only OutcomeKind::skip maps to exit 77, while failures and thrown exceptions always exit 1.
  2. Clean merge with upstream/main (9c05e76): Merged upstream/main (787ace7) cleanly, integrating --spirv-compare-sampler (kGateSm66CompareSampler) and updating --spirv-sampler-views to kGateSm60SamplerViews (SM 6.0) in the 56-operation kOperations table and --self-test checks.

AI-assisted.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7087232006 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/685#issuecomment-7087232006). Originally posted by [Ammmae0x](https://github.com/Ammmae0x) on 2026-11-22T22:59:44Z. --- Thanks @legacy-code-archaeologist for the coordination note and for running the before/after comparison on the Quadro M1000M and Intel HD Graphics 530! 1. **No parallel branch & table/handler split**: No competing PR was open for #166, and this implementation follows the table/handler split: - `kOperations` (`OperationSpec`), `resolve_cli`, and `evaluate_gate` own static argument shapes/flag validation (exit `2` before device creation) and unconditional adapter prerequisites via `CapabilityGate` (exit `77` without invoking the handler). - Individual handlers retain scenario-dependent checks (such as DXR tier, mesh shader tier, existing-heap `E_NOTIMPL`, and forced wave width support) and return explicit `OperationResult` (`pass`, `skip`, `fail`) so only `OutcomeKind::skip` maps to exit `77`, while failures and thrown exceptions always exit `1`. 2. **Clean merge with `upstream/main` (`9c05e76`)**: Merged `upstream/main` (`787ace7`) cleanly, integrating `--spirv-compare-sampler` (`kGateSm66CompareSampler`) and updating `--spirv-sampler-views` to `kGateSm60SamplerViews` (SM 6.0) in the 56-operation `kOperations` table and `--self-test` checks. AI-assisted.
rwZephyr commented 2026-11-24 06:48:51 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by rwZephyr on 2026-11-22T23:24:38Z.


Before/after check on a DXR-capable RTX, using the merged base 787ace7c2c692dcc766e150d2d8011c6752ad756 and PR head 9c05e76f0bcf8221ca84ae4af48b0ec5bebd750b. Windows 10 22H2 build 19045.6466, MSVC 19.44.35230, Windows SDK 10.0.26100.0, DXC 1.8.2502.11, Debug with /MTd. The D3D12 debug layer was unavailable.

cmake --preset dev "-DINTAKE_PYTHON=$((Get-Command python).Source)" "-DDXC_EXECUTABLE=$dxc" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
cmake --build --preset dev --parallel 4 --target offscreen_check
$env:XBOX2WINDOWS_ADAPTER = 'RTX 3060 Ti'
$filter = '^(dxr_|bvh_(differential|wave64)_|offscreen_(hardware|warp|invalid_operation|capability_table_self_test)|gpu_alias_lookup_writes_hardware$)'
ctest --preset dev --no-tests=error -V -R $filter --output-junit "$PWD/out/pr685-junit.xml"

I compared JUnit outcomes by test name. All 19 shared tests kept their outcomes (10 passes, 9 capability skips, zero failures). The PR’s new offscreen_capability_table_self_test also passed.

  • Hardware: RTX 3060 Ti (10de:2414), driver 621.24 (32.0.16.2124 via DXGI). The five DXR tests and bvh_differential_hardware passed on both commits (dxr_tier=20). bvh_wave64_hardware skipped on both (native lanes 32..32). The alias-write test matched all 147,456 words on both.
  • Software: In-box WARP (1414:008c), driver 10.0.19041.5794. Offscreen rendering passed on both. Its five DXR, two differential BVH and wave64 tests kept their capability skips (dxr_tier=0, lanes 4..4). The invalid-operation CTest passed on both.

AI-assisted. All reported tests ran locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7087552879 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/685#issuecomment-7087552879). Originally posted by [rwZephyr](https://github.com/rwZephyr) on 2026-11-22T23:24:38Z. --- Before/after check on a DXR-capable RTX, using the merged base `787ace7c2c692dcc766e150d2d8011c6752ad756` and PR head `9c05e76f0bcf8221ca84ae4af48b0ec5bebd750b`. Windows 10 22H2 build `19045.6466`, MSVC `19.44.35230`, Windows SDK `10.0.26100.0`, DXC `1.8.2502.11`, Debug with `/MTd`. The D3D12 debug layer was unavailable. ```powershell cmake --preset dev "-DINTAKE_PYTHON=$((Get-Command python).Source)" "-DDXC_EXECUTABLE=$dxc" -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug cmake --build --preset dev --parallel 4 --target offscreen_check $env:XBOX2WINDOWS_ADAPTER = 'RTX 3060 Ti' $filter = '^(dxr_|bvh_(differential|wave64)_|offscreen_(hardware|warp|invalid_operation|capability_table_self_test)|gpu_alias_lookup_writes_hardware$)' ctest --preset dev --no-tests=error -V -R $filter --output-junit "$PWD/out/pr685-junit.xml" ``` I compared JUnit outcomes by test name. **All 19 shared tests kept their outcomes** (10 passes, 9 capability skips, zero failures). The PR’s new `offscreen_capability_table_self_test` also passed. - **Hardware:** RTX 3060 Ti (`10de:2414`), driver `621.24` (`32.0.16.2124` via DXGI). The five DXR tests and `bvh_differential_hardware` passed on both commits (`dxr_tier=20`). `bvh_wave64_hardware` skipped on both (native lanes `32..32`). The alias-write test matched all 147,456 words on both. - **Software:** In-box WARP (`1414:008c`), driver `10.0.19041.5794`. Offscreen rendering passed on both. Its five DXR, two differential BVH and wave64 tests kept their capability skips (`dxr_tier=0`, lanes `4..4`). The invalid-operation CTest passed on both. AI-assisted. All reported tests ran locally.
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!679
No description provided.