Skip to content

Conversation

fabien-unity
Copy link
Collaborator


Purpose of this PR

Make sure the depth buffer is properly copied for each views so that devices like Oculus or Varjo can make use of them for better reprojection or Mixed Reality usage.


Testing status

Locally tested with HDRP template on Win10 (d3d11) with the Varjo Analytics debug tool as described in the bug (https://fogbugz.unity3d.com/f/cases/1286908/).


Comments to reviewers

@JulienIgnace-Unity : can you double-check the depth copy code/shader for non XR usage ? Maybe add a QA member to this PR to run some more tests ?

@sebastienlagarde
Copy link
Contributor

@fabien-unity is there a way to produce a test for this so we don't break it again?

@fabien-unity
Copy link
Collaborator Author

@fabien-unity is there a way to produce a test for this so we don't break it again?

Yes but it's not trivial. I've added it to our roadmap!

@ryanhy-unity
Copy link

Did a quick check with a new project (mock and Oculus) and didn't see any issues with this PR. Seeing as Fabien has run through the bug scenario with Varyo and verified the fix as well I think this looks good from my point of view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants