Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Try committed Sep 23, 2024
1 parent f0257e5 commit 5859d0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion game/graphics/drawcommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,11 @@ void DrawCommands::visibilityVsm(Encoder<CommandBuffer>& cmd, uint8_t fId) {

auto* pso = &Shaders::inst().vsmClusterTask;
cmd.setUniforms(*pso, i.desc, &push, sizeof(push));
//cmd.dispatchThreads(push.meshletCount);
#if 1
cmd.dispatchThreads(push.meshletCount, size_t(scene.vsmPageTbl->d()));
#else
cmd.dispatch(push.meshletCount);
#endif
}

cmd.setUniforms(Shaders::inst().vsmPackDraw0, views[SceneGlobals::V_Vsm].descPackDraw0);
Expand Down

0 comments on commit 5859d0b

Please sign in to comment.