diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-23 00:19:13 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-23 00:19:13 +0100 |
| commit | fcda84bb0d2c6abb99e42409f413025d00ddb4be (patch) | |
| tree | 27a5ee092be10547ffa5b4447ee050c623c62850 /runtime/test/vk_queue_query_sync_test.cpp | |
| parent | 3a1ed28bebf374321149bc4bbffc005ea6f691c4 (diff) | |
| parent | 3986b50821272791333c00df80bdb8526a8fdb9c (diff) | |
Merge hw4-ps-oracle into hw4-ps-formats (#3499)
docs/shader_validation.md
tools/ps_oracle.py
AI-assisted.
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); |