diff options
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
| -rw-r--r-- | runtime/test/queue_proxy_test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/test/queue_proxy_test.cpp b/runtime/test/queue_proxy_test.cpp index 967313d53..674a8cf2e 100644 --- a/runtime/test/queue_proxy_test.cpp +++ b/runtime/test/queue_proxy_test.cpp | |||
| @@ -277,6 +277,12 @@ int check_slots(const Backend& b) { | |||
| 277 | const std::uint64_t before35 = qhits(35); | 277 | const std::uint64_t before35 = qhits(35); |
| 278 | EXPECT(raw_call(queue.p, 35, 1, reinterpret_cast<std::uint64_t>(lists)) == 0); | 278 | EXPECT(raw_call(queue.p, 35, 1, reinterpret_cast<std::uint64_t>(lists)) == 0); |
| 279 | EXPECT(qhits(35) == before35 + 1 && xs::queue_slot_first_call_seen(35)); | 279 | EXPECT(qhits(35) == before35 + 1 && xs::queue_slot_first_call_seen(35)); |
| 280 | // Console slot 32, PresentX. This test's build of the proxy has no presenter (the wiring is in gta6rt's, | ||
| 281 | // LEONIDA_VULKAN_DEVICE), so the slot answers S_OK and reaches no PC slot; it is counted like any other. | ||
| 282 | EXPECT(xs::queue_slot_overridden(32)); | ||
| 283 | const std::uint64_t before32 = qhits(32); | ||
| 284 | EXPECT(static_cast<std::uint32_t>(raw_call(queue.p, 32, 0, 0, 0)) == static_cast<std::uint32_t>(S_OK)); | ||
| 285 | EXPECT(qhits(32) == before32 + 1); | ||
| 280 | EXPECT(SUCCEEDED(queue->Signal(fence.p, 7))); | 286 | EXPECT(SUCCEEDED(queue->Signal(fence.p, 7))); |
| 281 | if (wait_for(label, fence.p, 7)) return 1; | 287 | if (wait_for(label, fence.p, 7)) return 1; |
| 282 | if (b.vulkan) { | 288 | if (b.vulkan) { |