gpu: report the shader-visible view heap limit #1030

Merged
FIocker merged 1 commit from upstream-pr/1037 into main 2026-11-23 22:44:56 +00:00
FIocker commented 2026-11-23 22:23:26 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by FIocker on 2026-11-23T22:23:26Z.


The standalone GPU report now includes the maximum shader-visible CBV/SRV/UAV heap size from D3D12 OPTIONS19. Adapter reports can use this field to compare descriptor capacity independently of wave size and shader model. A runtime or SDK without the feature leaves the value as not reported and does not change the test outcome.

Refs #1. See Microsoft's OPTIONS19 specification.

Validation on x64 Windows with SDK 10.0.26100.0 and its DXC:

  • cmake --build out/build/community --config Release --target offscreen_check --parallel 8 succeeded.
  • python -B tests/gpu_report_format_check.py passed 10 tests.
  • ctest --test-dir out/build/community -C Release --output-on-failure --no-tests=error -R '^(offscreen_(warp|hardware)|adapter_selection_unmatched)$' passed 3 tests.
  • Run-GpuCheck.ps1 -Backend hardware on a GeForce RTX 5080 (DXGI driver 32.0.16.2101) reported 1,000,000. Run-GpuCheck.ps1 -Backend warp reported 2,097,152. Each run exited 0 with ten passes and the native wave64 capability skip.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6570055596 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1037). Originally posted by [FIocker](https://github.com/FIocker) on 2026-11-23T22:23:26Z. --- The standalone GPU report now includes the maximum shader-visible CBV/SRV/UAV heap size from D3D12 OPTIONS19. Adapter reports can use this field to compare descriptor capacity independently of wave size and shader model. A runtime or SDK without the feature leaves the value as `not reported` and does not change the test outcome. Refs #1. See [Microsoft's OPTIONS19 specification](https://microsoft.github.io/DirectX-Specs/d3d/VulkanOn12.html). Validation on x64 Windows with SDK 10.0.26100.0 and its DXC: - `cmake --build out/build/community --config Release --target offscreen_check --parallel 8` succeeded. - `python -B tests/gpu_report_format_check.py` passed 10 tests. - `ctest --test-dir out/build/community -C Release --output-on-failure --no-tests=error -R '^(offscreen_(warp|hardware)|adapter_selection_unmatched)$'` passed 3 tests. - `Run-GpuCheck.ps1 -Backend hardware` on a GeForce RTX 5080 (DXGI driver 32.0.16.2101) reported 1,000,000. `Run-GpuCheck.ps1 -Backend warp` reported 2,097,152. Each run exited 0 with ten passes and the native wave64 capability skip.
upstream-sync closed this pull request 2026-11-24 06:45:58 +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!1030
No description provided.