Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen to D3D Validation Messages #1383

Closed
cwfitzgerald opened this issue May 10, 2021 · 3 comments
Closed

Listen to D3D Validation Messages #1383

cwfitzgerald opened this issue May 10, 2021 · 3 comments
Labels
area: validation Issues related to validation, diagnostics, and error handling external: upstream Issues happening in lower level APIs or platforms type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

Is your feature request related to a problem? Please describe.

It is inconvenient and sometimes impossible to run applications in visual studio to get D3D validation messages. The way we handle vulkan validation is obvious and simple to use.

Describe the solution you'd like

Hook into the debug information through ID3D12InfoQueue and ID3D11InfoQueue

Describe alternatives you've considered

Leave things the way they are.

Additional context

Situations like #1382 might be difficult to debug remotely without this.

@cwfitzgerald cwfitzgerald added area: validation Issues related to validation, diagnostics, and error handling type: enhancement New feature or request labels May 10, 2021
@kvark kvark added the external: upstream Issues happening in lower level APIs or platforms label May 10, 2021
@kvark
Copy link
Member

kvark commented May 10, 2021

Thanks for filing! This should be in gfx-backend-dx12

@helikopterodaktyl
Copy link

https://docs.microsoft.com/en-us/sysinternals/downloads/debugview can be used to view D3D debug layer output as an alternative to Visual Studio

@cwfitzgerald
Copy link
Member Author

Solved with the new hal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: validation Issues related to validation, diagnostics, and error handling external: upstream Issues happening in lower level APIs or platforms type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants