Skip to content

Commit 1f62d24

Browse files
committed
Moed Dispatch::record() into source file.
1 parent b210b7d commit 1f62d24

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

include/vsg/commands/Dispatch.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ namespace vsg
3232
void read(Input& input) override;
3333
void write(Output& output) const override;
3434

35-
void record(CommandBuffer& commandBuffer) const override
36-
{
37-
vkCmdDispatch(commandBuffer, groupCountX, groupCountY, groupCountZ);
38-
}
35+
void record(CommandBuffer& commandBuffer) const override;
3936

4037
uint32_t groupCountX = 0;
4138
uint32_t groupCountY = 0;

src/vsg/commands/Dispatch.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ void Dispatch::write(Output& output) const
3131
output.write("groupCountY", groupCountY);
3232
output.write("groupCountZ", groupCountZ);
3333
}
34+
35+
void Dispatch::record(CommandBuffer& commandBuffer) const
36+
{
37+
vkCmdDispatch(commandBuffer, groupCountX, groupCountY, groupCountZ);
38+
}

0 commit comments

Comments
 (0)