Skip to content

Commit 50f0d2a

Browse files
committed
Ran clang-foramt.
1 parent 097e488 commit 50f0d2a

5 files changed

Lines changed: 3 additions & 5 deletions

File tree

include/vsg/state/ResourceHints.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ namespace vsg
3030
DYNAMIC_VIEWPORTSTATE = 1 << 1
3131
};
3232

33-
3433
/// ResourceHints provides settings that help preallocation of Vulkan resources and memory.
3534
class VSG_DECLSPEC ResourceHints : public Inherit<Object, ResourceHints>
3635
{

include/vsg/vk/CommandBuffer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ namespace vsg
2323
class ViewDependentState;
2424
class GPUStatsCollection;
2525

26-
2726
/// CommandBuffer encapsulates VkCommandBuffer
2827
class VSG_DECLSPEC CommandBuffer : public Inherit<Object, CommandBuffer>
2928
{

include/vsg/vk/State.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ namespace vsg
292292
{
293293
if (dirty)
294294
{
295-
for(uint32_t slot = 0; slot <= activeMaxStateSlot; ++slot)
295+
for (uint32_t slot = 0; slot <= activeMaxStateSlot; ++slot)
296296
{
297297
stateStacks[slot].record(*_commandBuffer);
298298
}

src/vsg/state/ViewportState.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void ViewportState::apply(Context& context, VkGraphicsPipelineCreateInfo& pipeli
141141

142142
void ViewportState::record(CommandBuffer& commandBuffer) const
143143
{
144-
// info("ViewportState::record() ", &commandBuffer);
144+
// info("ViewportState::record() ", &commandBuffer);
145145
vkCmdSetScissor(commandBuffer, 0, static_cast<uint32_t>(scissors.size()), scissors.data());
146146
vkCmdSetViewport(commandBuffer, 0, static_cast<uint32_t>(viewports.size()), viewports.data());
147147
}

src/vsg/vk/State.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void State::reserve(const Slots& in_maxSlots)
3030
size_t required_size = static_cast<size_t>(activeMaxStateSlot) + 1;
3131
if (required_size > stateStacks.size()) stateStacks.resize(required_size);
3232

33-
// info("State::reserve(", maxStateSlot, ", ", maxViewSlot, ")");
33+
// info("State::reserve(", maxStateSlot, ", ", maxViewSlot, ")");
3434
}
3535

3636
void State::reset()

0 commit comments

Comments
 (0)