rust-gpu/tests/ui/spirv-attr/invariant-invalid.stderr
2021-03-26 13:15:29 +01:00

9 lines
226 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