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

Make spirv feature to compile on macOS #301

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

syl20bnr
Copy link
Member

@syl20bnr syl20bnr commented Nov 23, 2024

Added some guidance in the build.rs file.

Lots of tests are failling though because of some device feature not present.

Also, not related to spir-v, there is one wgpu test failing test_buffer_len_offset with message:

Buffer offset 5248 does not respect device's requested min_storage_buffer_offset_alignment limit 256

The offset 5248 changes each time we execute the test.

Lots of tests fail though because of some device feature not present.
@syl20bnr
Copy link
Member Author

cc @wingertge

This makes it clearer about which tests fail as the panic line is
not really usable because of the macro.
@wingertge
Copy link
Contributor

Does it mention the device feature somewhere? I'm enabling a bunch of features by default because as far as I can tell they should be supported on all devices, but the compatibility layer might not have them all available. The main enforced features are the Vulkan Memory model (that one seems the most likely to be missing from a compat layer but also the hardest to remove), f16/i8 support and 16 bit buffer support. CMMA is gated behind a check for device capability so it's not that.

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