Repository navigation
Runtime: compare CheckFeatureSupport error HRESULTs with the host (D3D-50) - #459
Conversation
8748177 to
3cb0c8b
Compare
|
Tested 3cb0c8b on NVIDIA GeForce RTX 5070, driver 616.86, Windows 10.0.26200.9711: pass. Built |
|
Tested 3cb0c8b (on main 91b36cf) on an NVIDIA RTX 4090 (621.24) and an AMD Radeon iGPU (2.0.353), Windows 11 (build 26300), MSVC 14.44, Vulkan SDK 1.4.363.0, clean Ninja build of
(AI-assisted test run.) |
|
Note on CI and #497:
AI-assisted. |
|
Tested 8748177 on RTX 5070 (Blackwell, subgroup 32..32), NVIDIA 616.56, Windows 11 Pro 26200: pass.
|
|
Thanks @Ayinaki, @NRXM and @kacper-serewis for the GPU test reports - appreciated! (The rebased head is 3cb0c8b; the code is unchanged from 8748177.) |
|
Tested
No game files involved. AI-assisted (Claude Code). |
|
Tested on Windows 11, RTX 5080 (Blackwell), driver 616.56, Vulkan 1.4.x, MSVC 19.44.
Tested cases (all HRESULTs match):
Valid queries are not compared (GPU's choice), as designed.
Exit code 0 without validation. With AI-assisted. |
3cb0c8b to
79626e8
Compare
|
Rebased onto Resolved a merge conflict in No functional change to the D3D-50 logic itself — just brought it forward onto current Ready for review when a maintainer has capacity — claim is in #374. |
79626e8 to
003e781
Compare
…D-50) Add a comparison test that runs CheckFeatureSupport on both the shim and the host PC runtime and asserts their HRESULTs agree for invalid inputs: a null data pointer, a structure smaller than the feature requires, and feature values no runtime defines. Valid queries are not compared (their answers are the GPU choice). No game files; runs on WARP or any D3D12/Vulkan GPU.
|
Reopened and cleanly rebased onto current Re-verified locally on Windows 11 / Intel(R) Graphics (MSVC 14.44, Vulkan SDK 1.4.363.0): |
D3D-50: compare
CheckFeatureSupporterror HRESULTs with the host PC runtime.Adds
compare_check_feature_supporttoruntime/test/d3d12_vulkan_device_test.cpp, following the existingcompare_footprints/compare_allocation_infopattern. It runsCheckFeatureSupporton both the shim and the host runtime and asserts their HRESULTs agree for invalid inputs:Valid queries are not compared - their answers are the GPU's choice. No game files; runs on WARP or any D3D12/Vulkan GPU.
AI-assisted.
Tested:
d3d12_vulkan_device_teston Intel(R) Graphics (Windows 11); all comparisons matched.Claim: #374 (comment)