You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the order differences (last two parameters swapped) and name differences (stride vs. bytes_per_row) made it difficult to cross reference Apple's Metal docs when working with metal-rs.
Given that - it's probably quite a bit of manual work and breaking changes to get consistent (or at least to the degree possible) with the official metal APIs.
How does metal-rs typically think about breaking changes? Is this a no-go? Or could this fit in at some point in the future?
I could use some insight here.
Cheers!
The text was updated successfully, but these errors were encountered:
We are totally fine with breaking changes like that, but we adhere to semver like any other crate. Therefore, breaking changes will go into the breaking revision.
I agree in this case that we should rename the arg to bytes_per_row. There are other cases, which can be more complex, i.e. setBuffer in Metal accepts the slot in a non-obvious position. We can discuss all of them here.
In Apple's documentation, the order of function parameters might look like this:
whereas in
metal-rs
it might look like thisI found that the order differences (last two parameters swapped) and name differences (
stride
vs.bytes_per_row
) made it difficult to cross reference Apple's Metal docs when working withmetal-rs
.My understanding is that these were all written by hand over time (I'm just basing this assumption on the first few commits from 2016 https://github.com/gfx-rs/metal-rs/commits/master?after=09433e64682ffe4498988118c062e608a4971eb6+220)
Given that - it's probably quite a bit of manual work and breaking changes to get consistent (or at least to the degree possible) with the official metal APIs.
How does
metal-rs
typically think about breaking changes? Is this a no-go? Or could this fit in at some point in the future?I could use some insight here.
Cheers!
The text was updated successfully, but these errors were encountered: