mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #2312] runtime: include HRESULT in D3D12 traces #2317
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2317
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2312
Author: @ZroIsHere
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:diagnostics/d3d12-trace-hresult📝 Commits (1)
6f37726runtime: include HRESULT in D3D12 traces📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
runtime/shims/d3d12_trace.h(+9 -1)📄 Description
--trace-d3d12currently records failed calls without their HRESULT, making it hard to distinguish unsupported operations from invalid arguments and other failures. Include the hexadecimal HRESULT on failed calls. KeepE_NOTIMPLclassified asunsupportedand successful calls asok.Validation: the Windows/MSVC RelWithDebInfo
gta6rtbuild passed. A retail run with translated shaders recorded fourID3D12Device2::CreatePipelineStatefailures ashr=0x80070057(E_INVALIDARG), which the old trace reduced to the generic wordfailed. No tests were run.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.