yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

vk_rasterizer: Request outside render pass execution context for compute

This commit is contained in:
ReinUsesLisp 2021-04-11 02:12:56 -03:00 committed by ameerj
parent e5e79648cf
commit 1030b612a3
1 changed files with 1 additions and 0 deletions

View File

@ -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]); });
}