Repository navigation
Keep barrier state tests compatible with newer Windows SDKs - #531
Merged
ItsNotRexed merged 1 commit intoNov 22, 2026
Merged
Conversation
Windows SDK 10.0.28000.0 omits the legacy video queue layout enumerator. Compare against the enum when the SDK exposes it and check the established numeric value on newer SDKs.
1 of 2 tasks
Contributor
Author
|
CI baseline check for
AI-assisted CI triage. |
Contributor
|
Tested 0b29a78 on RTX 5070 (Blackwell, subgroup 32..32), NVIDIA 616.56, Windows 11 Pro 26200, Windows SDK 10.0.26100.0, MSVC 19.50: pass.
|
|
Tested 0b29a78 on an RTX 3060 (driver 610.88), Windows 11, Windows SDK as installed with VS 18 Build Tools: pass. Builds with the Vulkan targets on, Setup: Windows 11 Pro, NVIDIA GeForce RTX 3060 (Ampere), driver 610.88, Vulkan 1.4.341, MSVC (VS 18 Build Tools), Ninja, RelWithDebInfo. No validation layer installed, so not run with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task: TEST-74
Task claim in #374
Problem
Windows SDK 10.0.28000.0 omits
D3D12_BARRIER_LAYOUT_VIDEO_QUEUE_COMMON, which makesd3d12_state_map_test.cppfail with MSVC C2065 when the Vulkan targets are enabled. SDK 10.0.26100.0 exposes the legacy enum value. I reproduced this while validating the header-only build in #439.Change
Use a C++20 compile-time presence check for the enum. Compare against the SDK value where it is declared, and check the legacy value of 30 where it is absent.
Validation
d3d12_state_map_teston Windows 11 x64 with both SDK 10.0.26100.0 and SDK 10.0.28000.0.35321bd, the header-only Vulkan build completed using the Visual Studio 2022 x64 CMake generator and SDK 10.0.28000.0. All 19 registered CTest entries succeeded, with package-dependent and opt-in portions skipped.git diff --checkpassed.CPU-only validation with synthetic fixtures. Test machine GPU: RTX 3060 Ti, NVIDIA 616.56.
AI-assisted.