Update tests/ui/arch/any.rs

Co-authored-by: Eduard-Mihai Burtescu <eddyb@lyken.rs>
This commit is contained in:
Sylvester Hesp 2022-11-03 15:44:06 +01:00 committed by Eduard-Mihai Burtescu
parent c84cf1ca42
commit 932cd1d173

View File

@ -4,6 +4,7 @@
use spirv_std::spirv;
use spirv_std::{scalar::Scalar, vector::Vector};
/// HACK(shesp). Rust doesn't allow us to declare regular (tuple-)structs containing `bool` members
/// as `#[repl(simd)]`. But we need this for `spirv_std::arch::any()` and `spirv_std::arch::all()`
/// to work.