rust-gpu/tests/ui/spirv-attr/invariant-invalid.stderr

9 lines
228 B
Plaintext

error: `#[spirv(invariant)]` is only valid on Output variables
--> $DIR/invariant-invalid.rs:7:21
|
7 | pub fn main(#[spirv(invariant)] input: f32) {}
| ^^^^^^^^^
error: aborting due to previous error