浏览代码

set up clear/dont care and memoryless render targets on attachments we dont have to store

/main
Filip Iliescu 7 年前
当前提交
5e85f85f
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7
      Assets/ScriptableRenderPipeline/OnTileDeferredPipeline/OnTileDeferredRenderPipeline.cs

7
Assets/ScriptableRenderPipeline/OnTileDeferredPipeline/OnTileDeferredRenderPipeline.cs


s_Depth.BindSurface(BuiltinRenderTextureType.Depth, false, false);
}
// set load store actions
s_GBufferSpecRough.BindSurface (BuiltinRenderTextureType.None, false, false);
s_GBufferNormal.BindSurface (BuiltinRenderTextureType.None, false, false);
s_GBufferEmission.BindSurface (BuiltinRenderTextureType.None, false, false);
if (s_GBufferRedF32 != null)
s_GBufferRedF32.BindSurface(BuiltinRenderTextureType.None, false, false);
ExecuteRenderLoop(camera, cullResults, context);
if (camera.cameraType == CameraType.SceneView)

正在加载...
取消
保存