diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 23:02:05 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 23:02:05 +0100 |
| commit | edb22940c60273035908b3572f10f94e8324460c (patch) | |
| tree | 24dbfe2dcbfb9719c183c9ac3d04be92165220c7 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 5f2292d4e213a6ec0ce4908c959d24614ea4317f (diff) | |
| parent | 4c52ce27a6cf4af2bbf07a343ede39c5f1572b8d (diff) | |
chore(shader): merge upstream main into unary binary64 literal handling
Keep the targeted regression and the intervening upstream changes together for review.
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
| -rw-r--r-- | runtime/test/vk_queue_query_sync_test.cpp | 4 |
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 = ©_list; | 268 | const CommandList* ptr = ©_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); |