-
Notifications
You must be signed in to change notification settings - Fork 543
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
[ARM breakage] Same old same old #844
Comments
Thanks for the report! |
Hi, A quick and sufficient fix is to cast every instance to |
@petevine thanks! please consider filing a PR |
It fails also with rust-1.6-stable on RPi2:
|
I didn't follow the situation after the PR that'd fixed this issue got reverted. @andresv Do you mean there's just one error now or you simply pasted a snippet? |
I just pasted the first error. |
Nope, the patch was made partly redundant in I'm going to fix one remaining error and it's good to go. |
844: Add mip level count and array layer count validation to texture_create_view r=kvark a=kunalmohan **Connections** _Link to the issues addressed by this PR, or dependent PRs in other repositories_ **Description** _Describe what problem this is solving, and how it's solved._ Catches the error when `mip_level_count = 0` and `base_mip_level > texture.mip_level_count` (same with `array_layer_count`) **Testing** _Explain how this change is tested._ Haven't been tested yet <!-- Non-trivial functional changes would need to be tested through: - [wgpu-rs](https://github.com/gfx-rs/wgpu-rs) - test the examples. - [wgpu-native](https://github.com/gfx-rs/wgpu-native/) - check the generated C header for sanity. Ideally, a PR needs to link to the draft PRs in these projects with relevant modifications. See gfx-rs/wgpu#666 for an example. If you can add a unit/integration test here in `wgpu`, that would be best. --> Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com>
More fallout from rust-lang/rust#29867
Using nightly rust 1.7 on armv7 Linux.
The text was updated successfully, but these errors were encountered: