upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_stacks.cpp
diff options
context:
space:
mode:
authormilk4sale <53350507+milk4sale@users.noreply.github.com>2026-11-24 10:42:39 -0600
committermilk4sale <53350507+milk4sale@users.noreply.github.com>2026-11-24 10:42:39 -0600
commitb358f4788b09ece8a6090499f730f8f6cee60e91 (patch)
tree0d187ff3c576817d0903023da34b0ccd2a04ffdf /runtime/src/thread_stacks.cpp
parentffce6b5c394765977d12840b8c25cb8773ab9b5e (diff)
Tests: heap properties, residency and typeless depth check the layer on its own (TEST-WINE-HOST-GUARDS)
With no host to compare with (no host device, or Wine's), d3d12_heap_properties and d3d12_residency only printed the layer's record, so a wrong answer of the layer still passed, and d3d12_typeless_depth exited 77 without looking at the layer at all. Each now checks the layer by itself, on every host, before any comparison: - d3d12_heap_properties: for every committed or placed resource the layer created, GetHeapProperties succeeds with both outputs, with the properties alone and with the flags alone, Type is the heap type it was created with (for a custom heap the CPU page property and memory pool too), and a call asking for one output reports what the call asking for both does. For a reserved resource the call fails. - d3d12_residency: no call raises an exception, the plainly valid calls succeed, the device is never removed, and after EnqueueMakeResident the fence holds the value asked for (or stays put for a lower one, or after a failure). - d3d12_typeless_depth: the layer's readback has to hold the cleared depth and stencil at every texel. Under Wine that is now the whole check and the test passes instead of exiting 77; elsewhere it runs before the comparison with WARP. With LEONIDA_D3D49_VERBOSE=1 the first two print the layer's record when there is no host. dxgi_swapchain says why it compared nothing under Wine instead of "no host D3D12 device". Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions