Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
slangbot committed Nov 13, 2024
1 parent 2f9cde7 commit cf9d9da
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions source/slang/slang-emit-wgsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,11 @@ void WGSLSourceEmitter::emitParameterGroupImpl(
{
auto kinds = LayoutResourceKindFlag::make(LayoutResourceKind::DescriptorTableSlot);
m_writer->emit("@binding(");
auto index = getBindingOffsetForKinds(
&containerChain,
kinds);
auto index = getBindingOffsetForKinds(&containerChain, kinds);
m_writer->emit(index);
m_writer->emit(") ");
m_writer->emit("@group(");
auto space = getBindingSpaceForKinds(
&containerChain,
kinds);
auto space = getBindingSpaceForKinds(&containerChain, kinds);
m_writer->emit(space);
m_writer->emit(") ");
}
Expand Down

0 comments on commit cf9d9da

Please sign in to comment.