-
Notifications
You must be signed in to change notification settings - Fork 435
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
Vulkan tests fail on 32bit x86 systems #465
Comments
Hey, thanks for the report, seems like glad should generate the constant as: static const VkAccessFlagBits2 VK_ACCESS_2_SHADER_SAMPLED_READ_BIT = 4294967296ULL; |
Thanks for the quick response. I just tested it, and I'm not sure that works.
|
Yeah seems to be a C99 thing :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Vulkan tests fail on 32bit x86 systems with errors such as:
This is because the tests are compiled with
-ansi
, but on 32bit x86 the only way to get a 64 bit integer is by usinglong long
, which requires C99.Passing
-std=c99
instead of-ansi
resolves it. I am unsure as to how this should be properly resolved, as I assume you explicitly want to verify the code builds as C90 on other platforms.The text was updated successfully, but these errors were encountered: