The new specification xml file doesn't specify EXTX, EXTX2, EXTX3 etc. types. New structs entries are inserted if a key is not found.
Generate struct aliases.
Remove Default impl for structs containing enum, bitmask or XrTime fields.
Define SpaceUserIdFB in sys/src/lib.rs
Add definition for externally-defined MLCoordinateFrameUID
Bugs to be fixed:
The sys generated.rs references EYE_POSITION_COUNT_FB but its definition is generated as EyePositionFB::COUNT. I added a pub(crate) const as a patch.
Handle PassthroughHTC and struct PassthoughColorHTC are referenced in openxr generated.rs but are not imported. I didn't spend enough time to figure this out. I commented out manually the offending code.
@Ralith Hopefully you manage to fix the last couple of bugs and merge this PR.
Changes:
EXTX
,EXTX2
,EXTX3
etc. types. Newstructs
entries are inserted if a key is not found.Default
impl for structs containing enum, bitmask orXrTime
fields.SpaceUserIdFB
insys/src/lib.rs
MLCoordinateFrameUID
Bugs to be fixed:
generated.rs
referencesEYE_POSITION_COUNT_FB
but its definition is generated asEyePositionFB::COUNT
. I added apub(crate)
const as a patch.PassthroughHTC
and structPassthoughColorHTC
are referenced in openxrgenerated.rs
but are not imported. I didn't spend enough time to figure this out. I commented out manually the offending code.@Ralith Hopefully you manage to fix the last couple of bugs and merge this PR.