mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 19:38:36 +00:00
Merge main (f85582e) into runtime/compute-path
On top of the merge candidate70178d3(Ryx69/Leonida#6, which merged main at426023a): the 219 commits main gained since. Three hunks conflicted, in two files; both follow the notes on #291 (ItsNotRexed 08:27 UTC, Vonsek 09:58 UTC on 2026-11-22). runtime/shims/d3d12_vulkan_device.cpp, device setup after the VulkanContext: - the branch's GPU address arena is created first, as before; - main's block that configures predication and the predicated byte copy (#1277) follows it; - one load_host_image_copy call and main's lazy D24 converter (enabled only where D24_UNORM_S8_UINT is not usable) replace the branch's unconditional enable_depth24, which was the same code before main changed it. runtime/src/vulkan_replay.h: - CopyBuffer: main's version. It already adds ResourceBinding::buffer_offset to both offsets, as the branch did, and adds the overflow and overlap checks and the predicated copy. With the arena, source and destination are often the same VkBuffer; the overlap check compares the adjusted ranges. - Predication: main's version. prepare() passes buffer_offset + the command's offset to prepare_predicate, so a default-heap buffer inside the arena is read at its own range; emit() captures the word and tests the capture's scratch slot, not the application's buffer. Everything else merged without conflicts. Nothing in main's 219 commits adds a caller that takes a buffer's Vulkan device address for its GPU VA. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@ -107,7 +107,7 @@ int main() {
|
||||
// Copies: D3D12's own call rules (aligned footprints, a non-empty box, distinct CopyResource operands).
|
||||
CHECK(list.reset());
|
||||
CHECK(list.copy_buffer({1, 0, 2, 16, 64}));
|
||||
CHECK(!list.copy_buffer({1, 0, 2, 16, 0}));
|
||||
CHECK(list.copy_buffer({1, 0, 2, 16, 0}));
|
||||
CHECK(!list.copy_buffer({0, 0, 2, 16, 64}));
|
||||
const CopyLocation texture{3, false, 0, 0, 0, 0, 0, 0};
|
||||
const CopyLocation placed{4, true, 0, 512, 8, 8, 1, 256};
|
||||
|
||||
Reference in New Issue
Block a user