upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorKacper Serewis <kacper@serewis.nl>2026-11-22 23:10:57 +0100
committerKacper Serewis <kacper@serewis.nl>2026-11-22 23:10:57 +0100
commitc4d495c0104655d8505d4b2b74989f731fcef881 (patch)
tree8cc2248b6a600175f2ec8603ce82ff9bab9f5d58 /runtime/test/vk_queue_query_sync_test.cpp
parent9e069b02bfdad9019a9fdbc6ed43afa77b8c6d23 (diff)
parent2e594cf177f67befcde6a9d7658160ae5599861a (diff)
Integrate decoder fixes and retain exhaustive SDWA operand coverage
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
-rw-r--r--runtime/test/vk_queue_query_sync_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/test/vk_queue_query_sync_test.cpp b/runtime/test/vk_queue_query_sync_test.cpp
index a9daf6477..a03e369b9 100644
--- a/runtime/test/vk_queue_query_sync_test.cpp
+++ b/runtime/test/vk_queue_query_sync_test.cpp
@@ -267,12 +267,14 @@ int main() {
267 EXPECT(copy_list.close()); 267 EXPECT(copy_list.close());
268 const CommandList* ptr = &copy_list; 268 const CommandList* ptr = &copy_list;
269 269
270 // The Signal comes first: a Wait with no submitted Signal holds the batch on the CPU (queue_holds.h) and
271 // never reaches vkQueueSubmit, so it could not fail there.
272 EXPECT(fence.signal(1));
270 queue_a.wait(fence.semaphore(), 1); 273 queue_a.wait(fence.semaphore(), 1);
271 driver::fail_next_submit.store(VK_ERROR_OUT_OF_HOST_MEMORY); 274 driver::fail_next_submit.store(VK_ERROR_OUT_OF_HOST_MEMORY);
272 EXPECT(queue_a.execute({&ptr, 1}) == ReplayResult::unsupported); 275 EXPECT(queue_a.execute({&ptr, 1}) == ReplayResult::unsupported);
273 276
274 // Retry: the pending wait on (fence, 1) must still be attached to the next vkQueueSubmit. 277 // Retry: the pending wait on (fence, 1) must still be attached to the next vkQueueSubmit.
275 EXPECT(fence.signal(1));
276 driver::captured_wait_count.store(0); 278 driver::captured_wait_count.store(0);
277 driver::captured_wait_sem.store(0); 279 driver::captured_wait_sem.store(0);
278 driver::captured_wait_val.store(0); 280 driver::captured_wait_val.store(0);