Skip to content

Commit

Permalink
[gpu.vulkan] compute passes now actually uhh do a dispatch in their g…
Browse files Browse the repository at this point in the history
…pu commands. woops
  • Loading branch information
harrand committed Oct 19, 2024
1 parent ea9c939 commit 792e4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tz/gpu/rhi_vulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2229,7 +2229,7 @@ namespace tz::gpu
{
vkCmdBindPipeline(frame.cmds, VK_PIPELINE_BIND_POINT_COMPUTE, pass.pipeline);
vkCmdBindDescriptorSets(frame.cmds, VK_PIPELINE_BIND_POINT_COMPUTE, pass.layout, 0u, 1, pass.descriptor_sets.data() + id, 0, nullptr);
// dispatch
vkCmdDispatch(frame.cmds, pass.info.compute.kernel[0], pass.info.compute.kernel[1], pass.info.compute.kernel[2]);

return tz::error_code::success;
}
Expand Down

0 comments on commit 792e4a1

Please sign in to comment.