Skip to content
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

Update OpenXR-SDK to 1.0.29 #139

Merged
merged 7 commits into from
Sep 26, 2023
Merged

Update OpenXR-SDK to 1.0.29 #139

merged 7 commits into from
Sep 26, 2023

Conversation

rasmusgo
Copy link
Contributor

This is what happened when I wanted to be able to use XR_FB_haptic_pcm and went down the rabbit hole. There was a series of issues that I bumped into. Some are described in #134 but I chose to omit extensions with unlisted tags instead of allowing them (XR_EXTX_overlay etc).

On a related note, this is the most hacky code I have written in a while. I am grateful for any hints on how to improve it.

generator/src/main.rs Outdated Show resolved Hide resolved
Copy link
Owner

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall, couple possible improvements

generator/src/main.rs Outdated Show resolved Hide resolved
generator/src/main.rs Outdated Show resolved Hide resolved
openxr/src/generated.rs Outdated Show resolved Hide resolved
The problem with XR_HTC_passthrough was that we were generating code
for XrCompositionLayerPassthroughHTC that didn't compile.
This erroneous code was in the high level bindings so it turn out that
we don't need to disable the whole extension if we just skip the high
level bindings for XrCompositionLayerPassthroughHTC.

This also removes the ugly blacklist for structs during parsing that
was added to avoid the problematic code gen.
generator/src/main.rs Outdated Show resolved Hide resolved
@Ralith Ralith enabled auto-merge (squash) September 26, 2023 20:33
@Ralith Ralith merged commit f1f4dab into Ralith:master Sep 26, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants