Skip to content

Commit

Permalink
Merge pull request #62 from CyberAgentGameEntertainment/bug-fix/profi…
Browse files Browse the repository at this point in the history
…ling-sampler

プロファイリングのBeginとEndのミスマッチを修正
  • Loading branch information
CyTakayukiKiyohara committed Sep 12, 2023
2 parents bbcc34e + 70ebf5c commit a49c12b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/Nova/Runtime/Core/Scripts/DistortedUvBufferPass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ public override void Execute(ScriptableRenderContext context, ref RenderingData
{
context.ExecuteCommandBuffer(cmd);
cmd.Clear();
CommandBufferPool.Release(cmd);

var drawingSettings =
CreateDrawingSettings(_shaderTagId, ref renderingData, SortingCriteria.CommonTransparent);
context.DrawRenderers(renderingData.cullResults, ref drawingSettings, ref _filteringSettings);
}
context.ExecuteCommandBuffer(cmd);
CommandBufferPool.Release(cmd);
}
}
}

0 comments on commit a49c12b

Please sign in to comment.