diff options
| author | bunnei <bunneidev@gmail.com> | 2020-05-03 02:43:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 02:43:18 -0400 |
| commit | 2aff0b473338655fba08f83c6a4c0af808b6d4a9 (patch) | |
| tree | aae207eac2560d76f835a0eba3511b36fcf4a571 /src/video_core/renderer_vulkan/vk_rasterizer.h | |
| parent | a925ae79ff848b1f6f784e660ce59744667b50b7 (diff) | |
| parent | fe931ac9761a813c8e7d195cf99bf68ff324839c (diff) | |
Merge pull request #3808 from ReinUsesLisp/wait-for-idle
{maxwell_3d,buffer_cache}: Implement memory barriers using 3D registers
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_rasterizer.h')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h index 703a094c3..0ed0e48c6 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.h +++ b/src/video_core/renderer_vulkan/vk_rasterizer.h @@ -126,6 +126,7 @@ public: void SignalSyncPoint(u32 value) override; void ReleaseFences() override; void FlushAndInvalidateRegion(VAddr addr, u64 size) override; + void WaitForIdle() override; void FlushCommands() override; void TickFrame() override; bool AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Regs::Surface& src, @@ -275,6 +276,7 @@ private: vk::Buffer default_buffer; VKMemoryCommit default_buffer_commit; + vk::Event wfi_event; std::array<View, Maxwell::NumRenderTargets> color_attachments; View zeta_attachment; |
