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 19:19:31 +0100
committerRyx <118130241+Ryx69@users.noreply.github.com>2026-11-21 19:19:31 +0100
commit6052bf0bd5f7cf6dc2a90ace1ec1048e333b8305 (patch)
tree6f5e9980b6e8fbfaf7a56967029460ba925ddf60 /runtime/src/pe_loader.cpp
parent7f6e8f059dbd8c3202e185c972832841d6a8a9d2 (diff)
Runtime: rectangle clears, layout tracking, enhanced barriers, COM list/queue/fence
Closes the gaps left by the barrier/clear slice: - Rectangle clears: ClearRenderTargetView/ClearDepthStencilView rects are recorded and replayed with vkCmdClearAttachments in a dynamic-rendering scope, clipped to the mip. - LayoutTracker: the current Vulkan layout per image subresource, so barriers start from the real layout. This honours implicit promotion and decay (COMMON is GENERAL; simultaneous-access textures stay GENERAL) and, with separateDepthStencilLayouts, lets one depth/stencil plane be cleared or transitioned while the other stays in another state. - Enhanced barriers (global, buffer, texture, split, discard) mapped to vkCmdPipelineBarrier2. - vulkan_backend.h: VulkanContext, VulkanQueue (ExecuteCommandLists checks every list before writing any; Wait is attached to the next submission), VulkanFence on timeline semaphores. - d3d12_com.cpp: ID3D12GraphicsCommandList7, ID3D12CommandQueue, ID3D12CommandAllocator and ID3D12Fence1. Unimplemented methods are stubs generated at build time from the SDK's d3d12.h (tools/gen_d3d12_stubs.py), so vtables follow the SDK order and nothing SDK-derived is checked in. Tests: command_list_test and d3d12_state_map_test (every copied D3D12 constant checked against d3d12.h) in ctest; vk_command_replay_test and the new d3d12_com_test on the GPU, clean under the Khronos validation layer.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions