Repository navigation
dxgi: return the owning adapter for NT and legacy shared textures - #8663
Open
LukeOsland1 wants to merge 3 commits into
Open
LukeOsland1 wants to merge 3 commits into
LukeOsland1 wants to merge 3 commits into
Conversation
…ChainForComposition and the teardown event answer as the host does
…handle; CreateSwapChainForComposition refuses non-flip SwapEffect and ASPECT_RATIO_STRETCH
Contributor
|
Tested
AI-assisted. |
|
Tested
|
This was referenced Nov 23, 2026
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.
Depends on: #4540
Coordination claim.
A caller asking which adapter created a shared texture received 0x88760873 even for a valid handle. The factory now queries WDDM for the creator's LUID. It handles both NT handles from IDXGIResource1::CreateSharedHandle and legacy global shares from IDXGIResource::GetSharedHandle. The test creates 16×16 RGBA8 D3D11 textures on each hardware adapter and compares the result with native DXGI.
Ran dxgi_factory_args_test twice on Windows with Vulkan validation enabled, selecting the RTX 4070 Ti SUPER (32.0.16.1088) and AMD Radeon(TM) Graphics (32.0.21042.62) in turn. Both runs passed, including both handle types from both physical adapters in each run. This also checks the case where the handle belongs to a different GPU from the shim factory.
AI-assisted with Codex. Synthetic textures only.