diff options
| author | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 19:24:07 +0100 |
|---|---|---|
| committer | mrp1no <137657338+mrp1no@users.noreply.github.com> | 2026-11-22 19:24:07 +0100 |
| commit | 55a073183e15b461b1c4e059308d9bc25b44cdb8 (patch) | |
| tree | 369c8f3147ef1927fa4ec1a9d52524d861da922e /runtime/test/gameinput_test.cpp | |
| parent | b0a9c16d216acee1738ec561c51db972f319f00d (diff) | |
d3d12: SetName is readable as WKPDID_D3DDebugObjectNameW, with the right GUID
@pwu2775-dev found on #2533 that the tests' WKPDID_D3DDebugObjectNameW was
mistyped ({4cca5fd8-921f-42c8-8599-d2866a3e5f7e}, the layer's old constant)
instead of d3dcommon.h's {4cca5fd8-921f-42c8-8566-70caf2a9b741}. Measured with
the right key, the host runtime does what D3D12 documents: SetName is
SetPrivateData with that key and the name with its terminator, GetPrivateData
reads it back (an empty name is a 2-byte entry), and the narrow key is not
touched. SetName(nullptr) faults in the host and leaves the name as it was.
So the name goes back into the private data, now under the right GUID, and the
separate name_ / debug_name() are gone. SetName(nullptr) answers E_INVALIDARG
and changes nothing. d3d12_private_data_test: 667 steps compared, 0 mismatches
(RTX 3060, driver 610.88); d3d12_debug_markers_test checks the name again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions