diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-19 06:21:51 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-19 06:21:51 +0200 |
commit | 3cb44981420fb7d493e2b1ff9ee1e5670fae2486 (patch) | |
tree | 051162f614fa5db972cbe1c9ac839fb957a6e95e /src/video_core/engines/puller.cpp | |
parent | Merge pull request #9043 from german77/vector_data (diff) | |
download | yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar.gz yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar.bz2 yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar.lz yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar.xz yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.tar.zst yuzu-3cb44981420fb7d493e2b1ff9ee1e5670fae2486.zip |
Diffstat (limited to 'src/video_core/engines/puller.cpp')
-rw-r--r-- | src/video_core/engines/puller.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/engines/puller.cpp b/src/video_core/engines/puller.cpp index cca890792..3977bb0fb 100644 --- a/src/video_core/engines/puller.cpp +++ b/src/video_core/engines/puller.cpp @@ -75,11 +75,10 @@ void Puller::ProcessSemaphoreTriggerMethod() { if (op == GpuSemaphoreOperation::WriteLong) { const GPUVAddr sequence_address{regs.semaphore_address.SemaphoreAddress()}; const u32 payload = regs.semaphore_sequence; - std::function<void()> operation([this, sequence_address, payload] { + [this, sequence_address, payload] { memory_manager.Write<u64>(sequence_address + sizeof(u64), gpu.GetTicks()); memory_manager.Write<u64>(sequence_address, payload); - }); - rasterizer->SignalFence(std::move(operation)); + }(); } else { do { const u32 word{memory_manager.Read<u32>(regs.semaphore_address.SemaphoreAddress())}; |