diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-11 07:12:56 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:27 +0200 |
commit | 1030b612a36f6b44e3b25215039748b01cfb9b8c (patch) | |
tree | d954895d8411b1940a8331826c55625b0188eccc /src | |
parent | pipeline_helper: Add missing [[maybe_unused]] (diff) | |
download | yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar.gz yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar.bz2 yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar.lz yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar.xz yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.tar.zst yuzu-1030b612a36f6b44e3b25215039748b01cfb9b8c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 2ba44330f..7df169c85 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -279,6 +279,7 @@ void RasterizerVulkan::DispatchCompute() { const auto& qmd{kepler_compute.launch_description}; const std::array<u32, 3> dim{qmd.grid_dim_x, qmd.grid_dim_y, qmd.grid_dim_z}; + scheduler.RequestOutsideRenderPassOperationContext(); scheduler.Record([dim](vk::CommandBuffer cmdbuf) { cmdbuf.Dispatch(dim[0], dim[1], dim[2]); }); } |