upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/command_list_test.cpp
diff options
context:
space:
mode:
authorabilliontokens <39147239+abilliontokens@users.noreply.github.com>2026-11-22 03:00:14 -0800
committerabilliontokens <39147239+abilliontokens@users.noreply.github.com>2026-11-22 03:00:14 -0800
commitd7e1857c5db9c0e733722354cd6076050c7fbaf3 (patch)
tree1ea9e953ec9993e16db4424c5a861aa9d864f9b5 /runtime/test/command_list_test.cpp
parent8163c74be5daff3de76622842b6037f4eed05280 (diff)
parentf85582e23d4ab9e19acbf694358f137d6b8531b1 (diff)
Merge origin/main into d3d90-castable-placed (resolve #1083 conflicts)
Both sides extended the same spots: the PR's castable-format flag and main's R9G9B9E5-as-R32_UINT view emulation meet in bind_image (two extra defaulted parameters), image_descriptor's view format (resource_format + castable list), create_texture (TextureCreateInfo carries the VkImageFormatListCreateInfo the castable list fills) and the device init (arena creation plus main's predication configuration). Main's hardened CopyBuffer preparation and predicate capture keep the PR's arena-buffer offsets; the PR's old emit-side offset math is superseded by main's prepare-side buffer_offset handling.
Diffstat (limited to 'runtime/test/command_list_test.cpp')
-rw-r--r--runtime/test/command_list_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/test/command_list_test.cpp b/runtime/test/command_list_test.cpp
index 4e5735946..69fe14679 100644
--- a/runtime/test/command_list_test.cpp
+++ b/runtime/test/command_list_test.cpp
@@ -107,7 +107,7 @@ int main() {
107 // Copies: D3D12's own call rules (aligned footprints, a non-empty box, distinct CopyResource operands). 107 // Copies: D3D12's own call rules (aligned footprints, a non-empty box, distinct CopyResource operands).
108 CHECK(list.reset()); 108 CHECK(list.reset());
109 CHECK(list.copy_buffer({1, 0, 2, 16, 64})); 109 CHECK(list.copy_buffer({1, 0, 2, 16, 64}));
110 CHECK(!list.copy_buffer({1, 0, 2, 16, 0})); 110 CHECK(list.copy_buffer({1, 0, 2, 16, 0}));
111 CHECK(!list.copy_buffer({0, 0, 2, 16, 64})); 111 CHECK(!list.copy_buffer({0, 0, 2, 16, 64}));
112 const CopyLocation texture{3, false, 0, 0, 0, 0, 0, 0}; 112 const CopyLocation texture{3, false, 0, 0, 0, 0, 0, 0};
113 const CopyLocation placed{4, true, 0, 512, 8, 8, 1, 256}; 113 const CopyLocation placed{4, true, 0, 512, 8, 8, 1, 256};