diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-07-18 17:23:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-19 00:23:06 +0000 |
| commit | 7343c7110c38b3ce71d679222dccf438190865b0 (patch) | |
| tree | 0857126308000d41849e963cbac85833b6c750d2 /source/core/slang-performance-profiler.cpp | |
| parent | 4d514f792fc590e28579a184be8890613d0fdf9e (diff) | |
Fix D3D12 test failure without Windows Developer mode (#7831)
* Fix D3D12 test failure without Windows Developer mode
Add Windows Developer mode detection for D3D12 experimental features.
D3D12 Agility SDK requires Developer mode when using experimental
features like D3D12ExperimentalShaderModels. Without this check,
device creation fails silently.
Changes:
- Add isWindowsDeveloperModeEnabled() function to check registry
- Add developer mode check before enabling experimental features
- Provide clear error message with instructions to enable Developer mode
- Return SLANG_E_NOT_AVAILABLE to gracefully fail tests
Fixes #6819
Co-authored-by: Gangzheng Tong <gtong-nv@users.noreply.github.com>
* Add more regkey checks to cover the developer mode detections in multile Windows versions
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Gangzheng Tong <gtong-nv@users.noreply.github.com>
Diffstat (limited to 'source/core/slang-performance-profiler.cpp')
0 files changed, 0 insertions, 0 deletions
