mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-29 02:04:32 +00:00
8 lines
165 B
Rust
8 lines
165 B
Rust
// Tests that the invariant attribute can't be applied on inputs
|
|
// build-fail
|
|
|
|
use spirv_std as _;
|
|
|
|
#[spirv(vertex)]
|
|
pub fn main(#[spirv(invariant)] input: f32) {}
|