Version Number Macros: Incorrectly described as being packed into a 32-bit integer
OpenXR 1.1.45, in the section "Version Number Macros" states:
Three version numbers are defined in openxr.h. Each is packed into a 32-bit integer as described in API
Version Number Function-like Macros.
This is referring to XR_CURRENT_API_VERSION, XR_API_VERSION_1_0 and XR_API_VERSION_1_1, all defined using XR_MAKE_VERSION.
However the next section: "API Version Number Function-like Macros section" states:
API Version Numbers are three components, packed into a single 64-bit integer.
and the listed macros including XR_MAKE_VERSION and the description of the XrVersion typedef at the beginning of Chapter 2 clearly describe it packed into 64-bit integers.
Clearly that first sentence above about being "packed into a 32-bit integer" should be "packed into a 64-bit integer".
oh hmm, good catch.
An issue (number 2478) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2478 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.
Fixed in 1.1.47, thanks for the report!