Skip to content

Commit

Permalink
Merge pull request #6 from slangbot/format-5548-aleino/wgpu
Browse files Browse the repository at this point in the history
Format code for PR shader-slang#5548
  • Loading branch information
aleino-nv authored Nov 13, 2024
2 parents 2f9cde7 + cf9d9da commit 527eb1a
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 527eb1a

Please sign in to comment.