-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The current quad layers implementation uses a single quad layer with `XR_EYE_VISIBILITY_BOTH`. This works but isn't respecting multiview/stereo. This diff adds proper stereo by adding multiple quads with `XR_EYE_VISIBILITY_LEFT` and `XR_EYE_VISIBILITY_RIGHT`, both pointing at different array layers in the swapchain image. Reviewed By: trivedivivek Differential Revision: D49523415 fbshipit-source-id: 27ab92a36736916251284c39b6f8dddb684dd4ff
- Loading branch information
1 parent
4336bd5
commit e332a69
Showing
2 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters