mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-12-01 19:24:11 +00:00
9 lines
226 B
Plaintext
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
|
|
|