We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vk_version_*!
The macros vk_version_major! and vk_version_minor!.
vk_version_major!
vk_version_minor!
Expected:
#[macro_export] macro_rules! vk_version_major { ($major: expr) => (($major as uint32_t) >> 22) } #[macro_export] macro_rules! vk_version_minor { ($minor: expr) => ((($minor as uint32_t) >> 12) & 0x3ff) }
Currently:
#[macro_export] macro_rules! vk_version_major { ($major: expr) => (($major as uint32_t) << 22) } #[macro_export] macro_rules! vk_version_minor { ($minor: expr) => ((($minor as uint32_t) << 12) & 0x3ff) }
However, the macros have the same problem as in #16
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The macros
vk_version_major!
andvk_version_minor!
.Expected:
Currently:
However, the macros have the same problem as in #16
The text was updated successfully, but these errors were encountered: