浏览代码

HDRenderPipeline: Remove undeisred executebuffer

/RenderPassXR_Sandbox
sebastienlagarde 7 年前
当前提交
dca98af6
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 3
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Lighting/AmbientOcclusion/ScreenSpaceAmbientOcclusion.cs

3
Assets/ScriptableRenderPipeline/HDRenderPipeline/Lighting/AmbientOcclusion/ScreenSpaceAmbientOcclusion.cs


m_Material.SetFloat(Uniforms._Downsample, 1.0f / downsize);
m_Material.SetFloat(Uniforms._SampleCount, settings.sampleCount);
renderContext.ExecuteCommandBuffer(cmd);
cmd.Clear();
using (new Utilities.ProfilingSample("Screenspace ambient occlusion", cmd))
{
// AO estimation.

正在加载...
取消
保存