WebXRBoundedReferenceSpace is currently using Point2D mapping to transfom the bounds geometry. This is not correct because the originOffset is a 3D transform and it expects the bounds depth coordinates to be on the z axis instead of the y axis.
There is a WPT test to reproduce this but we can't enable it yet until we fetch it from upstream (https://github.com/web-platform-tests/wpt/pull/28024), currently blocked by WebGL 2 support in WPE.
Created attachment 425610 [details]
Comment on attachment 425610 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=425610&action=review
> + currently blocked by WebGL 2 support in WPE.
WebGL2 shouldn't be a blocker for the testing of this kind of stuff. Why don't we just add a new small test to WPT to check this?
Created attachment 430740 [details]
Rebase onto main
Committed r278562 (238560@main): <https://commits.webkit.org/238560@main>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 430740 [details].