mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 16:25:25 +00:00
27eb1d1413
* Refactor validation tests to use compiletest * Update tests/ui/lang/core/ptr/allocate_const_scalar.rs
8 lines
143 B
Rust
8 lines
143 B
Rust
// build-pass
|
|
|
|
#[spirv(fragment)]
|
|
pub fn main() {
|
|
let vector = glam::BVec2::new(true, false);
|
|
assert!(spirv_std::arch::any(vector));
|
|
}
|