This repository was archived by the owner on Nov 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -292,15 +292,7 @@ void BuildCommandBuffers()
292292 context . camera = m_Camera ;
293293 context . sourceFormat = sourceFormat ;
294294
295- // I don't think I need the big hammer of clearing out the command buffers totally for the right eye.
296- // Really, I just need to clear out any effect that relies on history frames (like TAA), since each
297- // eye will have their own retained state. The command buffers might be re-usable, assuming
298- // they start out being sourced from camera targets.
299- // Also, clearing of these buffers is dependent on their use being completed on the left eye first.
300- // Materials and render textures are what I am curious about, as far as re-use.
301- // There is also the possibility of separating out the history-based effects into their own command
302- // buffers, and adding those per eye. I don't think the bang-for-buck is there for that though,
303- // especially since single-pass is the path moving forward.
295+ // TODO: Investigate retaining command buffers on XR multi-pass right eye
304296 m_LegacyCmdBufferBeforeReflections . Clear ( ) ;
305297 m_LegacyCmdBufferBeforeLighting . Clear ( ) ;
306298 m_LegacyCmdBufferOpaque . Clear ( ) ;
You can’t perform that action at this time.
0 commit comments