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

Missing newComputePipelineState variant #683

Closed
kvark opened this issue Dec 20, 2024 · 2 comments
Closed

Missing newComputePipelineState variant #683

kvark opened this issue Dec 20, 2024 · 2 comments
Labels
A-framework Affects the framework crates and the translator for them bug Something isn't working

Comments

@kvark
Copy link

kvark commented Dec 20, 2024

This one appears to be missing - https://developer.apple.com/documentation/metal/mtldevice/1433353-newcomputepipelinestatewithdescr
The only variant with a descriptor that I see is newComputePipelineStateWithDescriptor_options_completionHandler, which is a different signature.

@madsmtm madsmtm added bug Something isn't working A-framework Affects the framework crates and the translator for them labels Dec 20, 2024
@madsmtm
Copy link
Owner

madsmtm commented Dec 20, 2024

You're right, it's intentionally skipped here.

I think I have a better idea of how to handle such cases such as MTLAutoreleasedComputePipelineReflection nowadays, lemme try to fix it.

@madsmtm madsmtm added this to the objc2 v0.6 / frameworks v0.3 milestone Dec 25, 2024
madsmtm added a commit that referenced this issue Jan 17, 2025
In preparation for fixing #683,
and a bunch of other issues with our typedef/object handling.
@madsmtm
Copy link
Owner

madsmtm commented Jan 17, 2025

I've fixed this now in 8c383ce, thanks for the prompt to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-framework Affects the framework crates and the translator for them bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants