mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2025-02-18 09:54:19 +00:00
8 lines
150 B
Rust
8 lines
150 B
Rust
// Tests that the invariant attribute works
|
|
// build-pass
|
|
|
|
use spirv_std as _;
|
|
|
|
#[spirv(vertex)]
|
|
pub fn main(#[spirv(invariant)] output: &mut f32) {}
|