We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Confirmed regression on master bfa63c1 vs last release:
// build-pass use spirv_std::spirv; use glam::Vec2; #[spirv(fragment)] pub fn main() { let works = [1.; 4]; let fails = [Vec2::default(); 4]; }
fails with:
error: cannot cast between pointer types from `*f32` to `*f32x2` --> $DIR/array_of_vectors.rs:9:22 | 9 | let array_of_vec2 = [Vec2::default(); 4]; | ^^^^^^^^^^^^^^^^^^^^ | note: used from within `array_of_vectors::main` --> $DIR/array_of_vectors.rs:9:22 | 9 | let array_of_vec2 = [Vec2::default(); 4]; | ^^^^^^^^^^^^^^^^^^^^ note: called by `main` --> $DIR/array_of_vectors.rs:7:8 | 7 | pub fn main() { | ^^^^
rust-gpu master bfa63c1
The text was updated successfully, but these errors were encountered:
I think this is #46 ?
Sorry, something went wrong.
I think it is #46, just that arrays of arrays is rather uncommon, whereas arrays of vectors is quite common. Feel free to mark as duplicate.
Yeah, let's dupe and track there.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Confirmed regression on master bfa63c1 vs last release:
fails with:
System Info
rust-gpu master bfa63c1
The text was updated successfully, but these errors were encountered: