upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authormrp1no <137657338+mrp1no@users.noreply.github.com>2026-11-22 18:24:14 +0100
committermrp1no <137657338+mrp1no@users.noreply.github.com>2026-11-22 18:24:14 +0100
commitb0a9c16d216acee1738ec561c51db972f319f00d (patch)
tree1943c96c75ec89df7ed74588888f296617ea9ac3 /runtime/test/gameinput_test.cpp
parent49475796c226c8511b9470bf97a4daf57b8af323 (diff)
d3d12: private data answers as the host runtime does
d3d12_private_data_test runs the same 672 GetPrivateData / SetPrivateData / SetPrivateDataInterface / SetName steps on the device, a fence, a buffer, a command allocator and a descriptor heap of the Vulkan-backed device and of the host runtime, and compares every HRESULT, returned size, byte and reference count. On main 130 of them differed (RTX 3060, driver 610.88), the same four rules on every object: - SetPrivateData with null data removes the entry whatever the size: S_OK when there was one, S_FALSE when there wasn't. The layer answered E_INVALIDARG for a nonzero size and kept the entry, and S_OK for a missing one. - Zero bytes with data keep an empty entry (size 0); the layer removed it. - SetPrivateDataInterface(null) releases the interface and keeps a pointer-sized entry that reads back as null; the layer removed it. - SetName is not readable through GetPrivateData: the host sets neither WKPDID_D3DDebugObjectNameW nor the narrow key. The layer stored the name there; it now keeps it apart (debug_name()). SetName(nullptr) faults in the host runtime; the layer still clears the name, and the test reports those 5 steps as not compared. d3d12_debug_markers_test's private-data checks expected the old answers and now expect the host's. 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