upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorRyx <118130241+Ryx69@users.noreply.github.com>2026-11-21 18:58:48 +0100
committerRyx <118130241+Ryx69@users.noreply.github.com>2026-11-21 18:58:48 +0100
commit7f6e8f059dbd8c3202e185c972832841d6a8a9d2 (patch)
tree0b64927bd2b6d206611e2f66561a3f3ab8e7a119 /runtime/src/pe_loader.cpp
parent793b06f12765571ed5e126d1d8944cec6a4dc805 (diff)
Runtime: D3D12 barriers and depth-stencil clears in the command-list IR
The IR (command_list.h, was clear_commands.h) now records transition, UAV and aliasing barriers (split barriers record their end half) and full-view ClearDepthStencilView next to ClearRenderTargetView. vulkan_replay.h (was vulkan_clear.h) maps D3D12 resource states to Vulkan layout/access/stage (section 4.3 table), decodes subresource indices including depth/stencil planes, validates the whole list before emitting anything, and wraps clears in a layout round trip so images stay in their D3D12 state. The caller no longer manages layouts by hand. Tests: command_list_test (recording rules), d3d12_state_map_test (state table, subresource decoding, constants checked against d3d12.h; needs Vulkan headers only) and vk_command_replay_test (GPU readback of colour, depth and stencil; LEONIDA_VK_VALIDATION=1 runs it under the Khronos validation layer).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions