-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openxr-loader] Update to 1.0.18 #19574
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/scripts/hpp_genxr.py b/scripts/hpp_genxr.py | ||
index 6b95fe4..3a19058 100755 | ||
--- a/scripts/hpp_genxr.py | ||
+++ b/scripts/hpp_genxr.py | ||
@@ -80,6 +80,11 @@ def genTarget(args): | ||
"XR_MSFT_controller_model", | ||
# Projection of static string fails | ||
"XR_MSFT_spatial_graph_bridge", | ||
+ "XR_MSFT_spatial_anchor_persistence", | ||
+ "XR_MSFT_holographic_window_attachment", | ||
+ # Projection of UuidMSFT fails | ||
+ "XR_MSFT_scene_understanding", | ||
+ "XR_MSFT_scene_understanding_serialization", | ||
)) | ||
|
||
# Turn lists of names/patterns into matching regular expressions |
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the upstream changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The OpenXR-hpp project generates C++ bindings, but the generation code isn't handling every case properly. Excluding these extensions was required to get a version of the header that compiles. This replaces the old patch method in the previous version where I patched the output headers directly. That approach is significantly more difficult now because the C++ bindings have been broken up into many files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this caused by upstream? If so, please report to the upstream first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've already reported the corresponding issues here: KhronosGroup/OpenXR-Hpp#24 but they haven't gotten any traction. I'm one of the two main contributors to the upstream repository and I haven't had time to try to resolve this bug yet, but I still need an updated version of the XR bindings from vcpkg.