Skip to content

Support ID3D12InfoQueue1 for debug message interception #1659

@kvark

Description

@kvark

Is your feature request related to a problem? Please describe.
Routing D3D debug messages to Rust log/console is extremely useful for diagnosing issues and debugging.
The new D3D12 backend of #1602 gets us the "crude" logic of message interception. It hooks into the VEH and manually parses the message to extract the D3D12 part, severity, etc.

Describe the solution you'd like
It may be useful to check for ID3D12InfoQueue1 and use the more specialized hookup instead. This would have to be another code path in parallel with the current VEH. It's unclear what benefit this work will get us, but worth investigating.

See full announcement - https://devblogs.microsoft.com/directx/d3d12-debug-layer-message-callback/

Describe alternatives you've considered
Just keep the current VEH logic.

Additional context
More info from Jessie Natalie:

Unfortunately, this is tied to DXGIDebug.dll, which is not one of the redistributable pieces from the Agility SDK, so it does currently require an insider Win10 or Win11 build

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: infrastructureTesting, building, coordinating issueshelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions